| Modifier and Type | Method and Description |
|---|---|
void |
RouteProcessor.process(RouteContext routeContext)
Handles the actual invocation of the target or the passed-in
Route. |
void |
DefaultRouteProcessor.process(RouteContext routeContext) |
private void |
DefaultRouteProcessor.processPaged(RouteContext routeContext,
Map<String,Object> arguments) |
private boolean |
Responders.respond(MediaType mediaType,
Object result,
RouteContext routeContext) |
void |
Responder.respond(Object entity,
RouteContext routeContext)
Responds to the current request in a why appropriate to the type of Responder (forward, return).
|
void |
Responders.respond(RouteContext routeContext,
Object result)
Responds to the Route in the passed-in RouteContext using an appropriate Responder.
|
private void |
Responders.respondAny(Set<MediaType> mediaTypes,
Object result,
RouteContext routeContext) |
| Modifier and Type | Method and Description |
|---|---|
private Object |
ErrorHandler.invokeErrorRoute(RouteContext routeContext,
Throwable t) |
void |
SecurityHandler.process(RouteContext routeContext)
This method will use the injected
SecurityProvider to access to the route is allowed. |
void |
ErrorHandler.process(RouteContext routeContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRestResponder.respond(Object entity,
RouteContext routeContext) |
private void |
JsonResponder.writeJsonResponse(Object entity,
RouteContext routeContext) |
void |
JsonResponder.writeResponse(Object entity,
RouteContext routeContext) |
abstract void |
AbstractRestResponder.writeResponse(Object entity,
RouteContext routeContext)
Writes the passed-in entity to the
HttpServletResponse enabling concrete implementation
to add additional headers of in other ways process the response. |
| Modifier and Type | Method and Description |
|---|---|
private PagingMetadata |
OffsetPagingStrategy.createMetadata(RouteContext routeContext) |
private String |
OffsetPagingStrategy.getResourcePath(RouteContext routeContext) |
Object |
PagingStrategy.process(Object result,
RouteContext routeContext)
Process allows for manipulating the result of an endpoint target method invocation.
|
Object |
OffsetPagingStrategy.process(Object result,
RouteContext routeContext) |
Object |
NullPagingStrategy.process(Object results,
RouteContext routeContext) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
ParameterExtractor.extractArguments(RouteContext routeContext,
Map<String,Consumer> consumers)
Extracts the arguments from the current request for the target route.
|
private static Object |
ParameterExtractor.extractBody(RouteContext routeContext,
Parameter<?> parameter,
Map<String,Consumer> consumers) |
private static com.google.common.base.Optional<?> |
ParameterExtractor.extractCookieParam(RouteContext routeContext,
RequestParameter<?> parameter) |
private static com.google.common.base.Optional<?> |
ParameterExtractor.extractHeaderParam(RouteContext routeContext,
RequestParameter<?> parameter) |
static com.google.common.base.Optional<?> |
ParameterExtractor.extractIogiParam(RouteContext routeContext)
Returns an instance of the type used in the parameter names using Iogi.
|
private static com.google.common.base.Optional<?> |
ParameterExtractor.extractParam(RouteContext routeContext,
RequestParameter<?> parameter) |
static com.google.common.base.Optional<String> |
ParameterExtractor.extractPathParam(RouteContext routeContext)
Extracts a path parameter from the passed in request path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractViewResponder.respond(Object entity,
RouteContext routeContext) |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.