Package | Description |
---|---|
com.ibm.wsspi.rest.handler |
This package contains the SPI for the rest handler framework.
|
com.ibm.wsspi.rest.handler.helper |
Provides the main OSGi container for the REST Handler framework.
|
Modifier and Type | Method and Description |
---|---|
void |
RESTHandler.handleRequest(RESTRequest request,
RESTResponse response)
This method gets called for every URL request that came in through the RESTHandlerContainer and matched the registered paths of this handler.
|
boolean |
RESTHandlerContainer.handleRequest(RESTRequest request,
RESTResponse response)
This method allows servlets or other REST entry points to delegate an incoming call to the RESTHandler framework.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultAuthorizationHelper.checkAdministratorRole(RESTRequest request,
RESTResponse response) |
boolean |
RESTRoutingHelper.containsLegacyRoutingContext(RESTRequest request) |
static boolean |
DefaultRoutingHelper.containsLegacyRoutingContext(RESTRequest request)
Quick check for legacy routing context (used from JMX connector)
|
boolean |
RESTRoutingHelper.containsRoutingContext(RESTRequest request) |
static boolean |
DefaultRoutingHelper.containsRoutingContext(RESTRequest request)
Quick check for multiple routing context, without actually fetching all pieces
|
static DefaultRoutingHelper.RoutingContext |
DefaultRoutingHelper.getLegacyRoutingContext(RESTRequest request)
This helper method looks for the routing keys in the HTTP headers
|
static java.lang.String |
DefaultRoutingHelper.getQueryParameterValue(RESTRequest request,
java.lang.String name) |
static java.lang.String[] |
DefaultRoutingHelper.getQueryParameterValues(RESTRequest request,
java.lang.String name) |
static java.util.List<DefaultRoutingHelper.RoutingContext> |
DefaultRoutingHelper.getRoutingContext(RESTRequest request)
This helper method looks for the routing keys in the HTTP headers first, and then falls-back into looking at the query string.
|
void |
RESTRoutingHelper.routeRequest(RESTRequest request,
RESTResponse response) |
void |
DefaultRoutingHelper.routeRequest(RESTRequest request,
RESTResponse response)
The target RESTHandler did not want to provide custom routing, so route the request to it.
|
void |
RESTRoutingHelper.routeRequest(RESTRequest request,
RESTResponse response,
boolean legacyURI) |
void |
DefaultRoutingHelper.routeRequest(RESTRequest request,
RESTResponse response,
boolean legacyURI)
The target RESTHandler did not want to provide custom routing, so route the request to it.
|