public interface RESTHandlerContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLLECTIVE_HOST_NAMES
This parameter represents a comma-separated list of host names within the collective.
|
static java.lang.String |
COLLECTIVE_SERVER_INSTALL_DIRS
This parameter represents a comma-separated list of the server installation directories to be used in a routing context.
|
static java.lang.String |
COLLECTIVE_SERVER_NAMES
This parameter represents a comma-separated list of the server names to be used in a routing context.
|
static java.lang.String |
COLLECTIVE_SERVER_USER_DIRS
This parameter represents a comma-separated list of the server user directories to be used in a routing context.
|
static int |
REST_HANDLER_CONTAINER_VERSION
The current version of the container.
|
Modifier and Type | Method and Description |
---|---|
boolean |
handleRequest(RESTRequest request,
RESTResponse response)
This method allows servlets or other REST entry points to delegate an incoming call to the RESTHandler framework.
|
java.util.Iterator<java.lang.String> |
registeredKeys()
Provides access to an aggregated collection of the registered paths that the current RESTHandler are listening to.
|
static final int REST_HANDLER_CONTAINER_VERSION
static final java.lang.String COLLECTIVE_HOST_NAMES
static final java.lang.String COLLECTIVE_SERVER_NAMES
static final java.lang.String COLLECTIVE_SERVER_INSTALL_DIRS
static final java.lang.String COLLECTIVE_SERVER_USER_DIRS
boolean handleRequest(RESTRequest request, RESTResponse response) throws java.io.IOException
request
- encapsulates the artifacts for the HTTP requestresponse
- encapsulates the artifacts for the HTTP responsejava.io.IOException
java.util.Iterator<java.lang.String> registeredKeys()