Package | Description |
---|---|
org.jooby | |
org.jooby.internal | |
org.jooby.internal.mvc | |
org.jooby.internal.routes |
Modifier and Type | Class and Description |
---|---|
static class |
Request.Forwarding
Forwarding request.
|
Modifier and Type | Method and Description |
---|---|
static Request |
Request.Forwarding.unwrap(Request req)
Unwrap a request in order to find out the target instance.
|
Modifier and Type | Method and Description |
---|---|
default Map<String,Object> |
Err.Handler.err(Request req,
Response rsp,
Exception ex)
Build a err model from exception.
|
default String |
Err.Handler.errPage(Request req,
Response rsp,
Exception ex)
Convert current err to a view location, defaults is:
/err . |
Object |
Route.OneArgHandler.handle(Request req)
Callback method for a HTTP request.
|
void |
Route.Handler.handle(Request req,
Response rsp)
Callback method for a HTTP request.
|
void |
Err.Default.handle(Request req,
Response rsp,
Exception ex) |
void |
Err.Handler.handle(Request req,
Response rsp,
Exception ex)
Handle a route exception by probably logging the error and sending a err response to the
client.
|
void |
Route.Filter.handle(Request req,
Response rsp,
Route.Chain chain)
The
handle method of the Filter is called by the server each time a
request/response pair is passed through the chain due to a client request for a resource at
the end of the chain. |
void |
Route.Chain.next(Request req,
Response rsp)
Invokes the next route in the chain.
|
static Request |
Request.Forwarding.unwrap(Request req)
Unwrap a request in order to find out the target instance.
|
Constructor and Description |
---|
Forwarding(Request request)
Creates a new
Request.Forwarding request. |
Modifier and Type | Class and Description |
---|---|
class |
RequestImpl |
Modifier and Type | Method and Description |
---|---|
void |
RouteImpl.handle(Request request,
Response response,
Route.Chain chain) |
void |
AssetHandler.handle(Request req,
Response rsp,
Route.Chain chain) |
Modifier and Type | Method and Description |
---|---|
Object |
Param.get(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
void |
TraceHandler.handle(Request req,
Response rsp) |
void |
OptionsHandler.handle(Request req,
Response rsp) |
void |
HeadHandler.handle(Request req,
Response rsp,
Route.Chain chain) |
Copyright © 2014. All rights reserved.