Package | Description |
---|---|
ej.restserver |
This package gather classes used for a rest server.
|
ej.restserver.endpoint |
This package gather implementations of standard endpoints.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RestEndpoint> |
RestServer.getEndpoints()
Gets the list of active endpoints.
|
Modifier and Type | Method and Description |
---|---|
void |
RestServer.addEndpoint(RestEndpoint endpoint)
Adds an endpoint to this server.
|
Modifier and Type | Class and Description |
---|---|
class |
AliasEndpoint
An endpoint forwarding its requests to another
RestEndpoint . |
class |
GzipResourceEndpoint
A static resource end-point to serve gzip files.
|
class |
ResourceRestEndpoint
A static resource end-point to serve all kind of files.
|
Modifier and Type | Method and Description |
---|---|
RestEndpoint |
AliasEndpoint.getEndpoint()
Gets the endpoint.
|
Modifier and Type | Method and Description |
---|---|
void |
AliasEndpoint.setEndpoint(RestEndpoint endpoint)
Sets the endpoint.
|
Constructor and Description |
---|
AliasEndpoint(java.lang.String uri,
RestEndpoint endpoint)
Instantiates a
AliasEndpoint . |