HttpSession |
HttpSessionManager.checkSession(HttpSession session,
HttpRequest request) |
This method must update the session with the information into the request.
|
HttpSession |
HttpSessionManager.DefaultHttpSessionManager.checkSession(HttpSession session,
HttpRequest request) |
This method must update the session with the information into the request.
|
java.util.Map<java.lang.String,java.lang.Object> |
FormUrlEncodedDecoder.decode(HttpRequest request) |
Decodes the request body that must be encoding with url encoding method.
|
java.util.Map<java.lang.String,java.lang.Object> |
MultipartFormDataDecoder.decode(HttpRequest request) |
|
java.util.Map<java.lang.String,java.lang.Object> |
RequestBodyDecoderLayer.decode(HttpRequest request) |
Returns a map with the parameters parsed from the request body.
|
abstract HttpResponse |
Context.onContext(HttpRequest request) |
This method is called when there comes a http package addressed to this
context.
|
HttpResponse |
EnumContext.onContext(HttpRequest request) |
|
HttpResponse |
FolderContext.onContext(HttpRequest request) |
This method is called when there comes a http package addressed to this
context.
|
HttpResponse |
RestContext.onContext(HttpRequest request) |
This method receive the http request and delegate each request for the different method depends of the
http method and the request body.
|
protected HttpResponse |
HttpServer.onContextNotFound(HttpRequest request) |
This method must create the response package when the context not found.
|
protected HttpResponse |
Context.onError(HttpRequest request,
java.lang.Throwable throwable) |
This method is called when there are any error on the context execution.
|
protected HttpResponse |
RestContext.onError(HttpRequest request,
java.lang.Throwable throwable) |
This method generate error response all the times that the request generates an throwable instance.
|
boolean |
FolderContext.onNonExistentFile(HttpRequest request,
java.io.File file) |
This method could be implemented in order to manage the non-existent file situation.
|
protected HttpResponse |
HttpServer.onNotCheckedSession(HttpRequest request) |
This method must create the response package when the session check fail.
|
protected HttpResponse |
HttpServer.onUnresponsiveContext(HttpRequest request) |
This method must create the response package when the context result is null.
|
void |
HttpSession.setRequest(HttpRequest request) |
Set the request for the session.
|