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
MediaType s 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()
Endpoint
public void setPath(String path)
public boolean isSensitive()
Endpoint
isSensitive
in interface Endpoint<T>
public void setSensitive(boolean sensitive)
public MediaType[] getProduces()
Endpoint
MediaType
s that this endpoint produces or null
.getProduces
in interface Endpoint<T>
Copyright © 2013. All rights reserved.