| Modifier and Type | Field and Description |
|---|---|
private RouteContext |
InvocationResult.routeContext |
| Modifier and Type | Method and Description |
|---|---|
RouteContext |
InvocationResult.getRouteContext()
The
RouteContext for this invocation. |
| Modifier and Type | Method and Description |
|---|---|
Object |
EndpointInvoker.invoke(RouteContext routeContext,
Object[] args)
Invokes the target endpoint method for the passed-in
RouteContext. |
InvocationResult |
RouteProcessor.process(RouteContext routeContext)
Handles the actual invocation of the target or the passed-in
Route. |
InvocationResult |
DefaultRouteProcessor.process(RouteContext routeContext) |
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) |
| Constructor and Description |
|---|
InvocationResult(Object result,
RouteContext routeContext)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private RouteContext |
ErrorHandler.errorContext(Throwable rootCause,
RouteContext orgContext) |
| Modifier and Type | Method and Description |
|---|---|
private RouteContext |
ErrorHandler.errorContext(Throwable rootCause,
RouteContext orgContext) |
private Object[] |
ErrorHandler.getMethodArguments(RouteContext routeContext,
Throwable t) |
private Object |
ErrorHandler.invokeErrorMethod(RouteContext errorContext,
Throwable rootCause) |
InvocationResult |
SecurityHandler.process(RouteContext routeContext)
This method will use the injected
SecurityProvider to determine if access to the route is allowed. |
InvocationResult |
ResponseHandler.process(RouteContext routeContext) |
InvocationResult |
ErrorHandler.process(RouteContext routeContext) |
private javax.servlet.http.HttpServletRequest |
ErrorHandler.wrapRequest(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 PaginationMetadata |
AbstractPaginationStrategy.createMetadata(RouteContext routeContext,
PaginationInfo pagingInfo) |
PaginationInfo |
PaginationStrategy.createPaginationInfo(RouteContext routeContext,
Map<String,Object> arguments)
Creates a PaginationInfo instance.
|
PaginationInfo |
AbstractPaginationStrategy.createPaginationInfo(RouteContext routeContext,
Map<String,Object> args) |
private String |
AbstractPaginationStrategy.getResourcePath(RouteContext routeContext) |
Object |
PaginationStrategy.postInvocation(Collection<?> results,
RouteContext routeContext,
PaginationInfo pagingInfo)
Called after the target endpoint method has been invoked and allows the strategy to set HTTP Response headers.
|
Object |
AbstractPaginationStrategy.postInvocation(Collection<?> results,
RouteContext routeContext,
PaginationInfo pagingInfo) |
InvocationResult |
PaginationHandler.process(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.