| Package | Description |
|---|---|
| io.aalam.common | |
| io.aalam.common.router | |
| io.aalam.common.serializers |
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpResponse.getHttpRequest()
Get the request object for this response object.
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
StaticsHandler._checkCache(HttpRequest request,
HttpResponse response,
String resource,
String file) |
HttpResponse |
HooksHandler.addHooks(HttpRequest req) |
protected void |
HttpPreProcessor.channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest msg) |
boolean |
Permissions.check(HttpRequest request)
This method is used internall in the framework and the application has
no use for this method.
|
HttpResponse |
HooksHandler.deleteHooks(HttpRequest req) |
HttpResponse |
HooksHandler.hookCallback(HttpRequest request) |
static boolean |
Role.isClientAuthorized(HttpRequest request,
String grp,
String name)
Check if the user request a URL has permission
|
static boolean |
Role.isUserAdmin(HttpRequest request)
Check if the requesting user is an admin
|
abstract Object |
HttpPreProcessor.process(HttpRequest msg) |
Object |
SystemHandler.process(HttpRequest req) |
Object |
AuthHandler.process(HttpRequest req) |
Object |
StaticsHandler.process(HttpRequest req) |
Object |
AuthorizationHandler.process(HttpRequest req) |
Object |
HooksHandler.process(HttpRequest req) |
Object |
RouterHandler.process(HttpRequest req) |
Object |
AppHandler.process(HttpRequest req) |
abstract Object |
HttpPrePostProcessor.process(HttpRequest msg) |
void |
HooksHandler.processAfter(HttpRequest req,
HttpResponse response) |
void |
HooksHandler.processBefore(HttpRequest req) |
protected void |
HttpPreProcessor.sendResponse(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest req,
io.netty.handler.codec.http.HttpResponseStatus status,
Object data) |
protected void |
HttpPrePostProcessor.sendResponse(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest req,
io.netty.handler.codec.http.HttpResponseStatus status,
Object data) |
protected void |
HttpPreProcessor.sendResponse(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest req,
Object data) |
protected void |
AppHandler.sendResponse(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest req,
Object data) |
protected void |
HttpPrePostProcessor.sendResponse(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest request,
Object data) |
void |
Serializer.serialize(HttpRequest request,
HttpResponse response)
This method should set the response data in the response and the
neccessary modifications in the response headers.
|
void |
HttpResponse.setHttpRequest(HttpRequest req)
Sets the request object for which this response is being sent
|
| Constructor and Description |
|---|
HttpResponse(HttpRequest req,
io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpResponseStatus status)
Initialize a new response object that has no data
|
HttpResponse(HttpRequest req,
io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpResponseStatus status,
io.netty.buffer.ByteBuf buf)
Initialize a new response object
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Route.invoke(HttpRequest req,
String[] values) |
RouteMatch |
Mapper.match(HttpRequest req)
This method is used by the framework.
|
String[] |
Route.match(HttpRequest req) |
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
HtmlSerializer.render(HttpRequest request,
HttpResponse response)
This method is used to serialize data in HTML format
|
void |
HtmlSerializer.serialize(HttpRequest request,
HttpResponse response) |
void |
JsonSerializer.serialize(HttpRequest request,
HttpResponse response) |
abstract byte[] |
JsonSerializer.toJson(HttpRequest req,
HttpResponse resp)
This method is used to serialize data in JSON format
|
Copyright © 2017. All rights reserved.