|
aerogear-controller 1.0.2 | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of RouteContext in org.jboss.aerogear.controller.router |
|---|
| Fields in org.jboss.aerogear.controller.router declared as RouteContext | |
|---|---|
private RouteContext |
InvocationResult.routeContext
|
| Methods in org.jboss.aerogear.controller.router that return RouteContext | |
|---|---|
RouteContext |
InvocationResult.getRouteContext()
The RouteContext for this invocation. |
| Methods in org.jboss.aerogear.controller.router with parameters of type RouteContext | |
|---|---|
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)
|
| Constructors in org.jboss.aerogear.controller.router with parameters of type RouteContext | |
|---|---|
InvocationResult(Object result,
RouteContext routeContext)
Sole constructor. |
|
| Uses of RouteContext in org.jboss.aerogear.controller.router.decorators |
|---|
| Methods in org.jboss.aerogear.controller.router.decorators that return RouteContext | |
|---|---|
private RouteContext |
ErrorHandler.errorContext(Throwable rootCause,
RouteContext orgContext)
|
| Methods in org.jboss.aerogear.controller.router.decorators with parameters of type RouteContext | |
|---|---|
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)
|
| Uses of RouteContext in org.jboss.aerogear.controller.router.rest |
|---|
| Methods in org.jboss.aerogear.controller.router.rest with parameters of type RouteContext | |
|---|---|
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. |
| Uses of RouteContext in org.jboss.aerogear.controller.router.rest.pagination |
|---|
| Methods in org.jboss.aerogear.controller.router.rest.pagination with parameters of type RouteContext | |
|---|---|
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)
|
| Uses of RouteContext in org.jboss.aerogear.controller.util |
|---|
| Methods in org.jboss.aerogear.controller.util with parameters of type RouteContext | |
|---|---|
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,
Consumer consumer)
|
private static com.google.common.base.Optional<String> |
ParameterExtractor.extractContentType(RouteContext routeContext)
|
private static com.google.common.base.Optional<?> |
ParameterExtractor.extractCookieParam(RouteContext routeContext,
String paramName,
Class<?> type)
|
private static com.google.common.base.Optional<?> |
ParameterExtractor.extractHeaderParam(RouteContext routeContext,
String paramName)
|
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,
String name,
Class<?> type)
|
static com.google.common.base.Optional<?> |
ParameterExtractor.extractPathParam(RouteContext routeContext,
RequestParameter<?> param)
|
static com.google.common.base.Optional<?> |
ParameterExtractor.extractPathParam(RouteContext routeContext,
String paramName,
Class<?> type)
Extracts a path parameter from the passed in request path. |
private static Map<String,Object> |
ParameterExtractor.extractRequestParam(String paramName,
Class<?> type,
com.google.common.base.Optional<?> defaultValue,
Map<String,Object> map,
RouteContext routeContext)
|
private static Map<String,Object> |
ParameterExtractor.extractRequestParams(ReplacementParameter<?> replacementParam,
RouteContext routeContext)
|
private static Consumer |
ParameterExtractor.getConsumer(RouteContext routeContext,
Map<String,Consumer> consumers,
Parameter<?> parameter)
|
| Uses of RouteContext in org.jboss.aerogear.controller.view |
|---|
| Methods in org.jboss.aerogear.controller.view with parameters of type RouteContext | |
|---|---|
void |
AbstractViewResponder.respond(Object entity,
RouteContext routeContext)
|
|
aerogear-controller 1.0.2 | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||