public abstract class AbstractEndpoint<T> extends Object implements Endpoint<T>
Endpoint implementations.| Constructor and Description |
|---|
AbstractEndpoint(String path) |
AbstractEndpoint(String path,
boolean sensitive) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPath()
Returns the path of the endpoint.
|
MediaType[] |
getProduces()
Returns the
MediaTypes that this endpoint produces or null. |
boolean |
isSensitive()
Returns if the endpoint is sensitive, i.e.
|
void |
setPath(String path) |
void |
setSensitive(boolean sensitive) |
public AbstractEndpoint(String path)
public AbstractEndpoint(String path, boolean sensitive)
public String getPath()
Endpointpublic void setPath(String path)
public boolean isSensitive()
EndpointisSensitive in interface Endpoint<T>public void setSensitive(boolean sensitive)
public MediaType[] getProduces()
EndpointMediaTypes that this endpoint produces or null.getProduces in interface Endpoint<T>Copyright © 2013. All rights reserved.