| Package | Description |
|---|---|
| io.aalam.common | |
| io.aalam.common.serializers |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
StaticsHandler._checkCache(HttpRequest request,
HttpResponse response,
String resource,
String file) |
HttpResponse |
HooksHandler.addHooks(HttpRequest req) |
HttpResponse |
HooksHandler.deleteHooks(HttpRequest req) |
static HttpResponse |
HttpResponse.forbidden()
Returns a pre initialized response object with status code "403"
|
HttpResponse |
HooksHandler.hookCallback(HttpRequest request) |
static HttpResponse |
HttpResponse.internalServerError()
Returns a pre initialized response object with status code "500"
|
static HttpResponse |
HttpResponse.notFound()
Returns a pre initialized response object with status code "404"
|
static HttpResponse |
HttpClient.request(String method,
String url,
Map<String,String> headers,
Map<String,String> params,
byte[] data) |
static HttpResponse |
Utils.requestLocalServer(String method,
String url,
Map<String,String> params)
Send a signed request to other internal applications.
|
static HttpResponse |
Utils.requestLocalServer(String method,
String url,
Map<String,String> params,
String contentType,
byte[] data)
Send a signed request to other internal applications.
|
static HttpResponse |
Utils.requestLocalServer(String method,
String url,
Map<String,String> params,
String contentType,
byte[] data,
String scheme,
String user)
Send a signed request to other internal applications.
|
static HttpResponse |
Utils.signAndSend(String prefix,
String signatureKey,
String method,
String host,
String path,
Map<String,String> params,
String contentType,
byte[] data,
String scheme)
Send a signed request.
|
static HttpResponse |
HttpResponse.unAuthorized()
Returns a pre initialized response object with status code "401"
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
StaticsHandler._checkCache(HttpRequest request,
HttpResponse response,
String resource,
String file) |
protected void |
HttpPostProcessor.channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpResponse msg) |
abstract Object |
HttpPostProcessor.process(HttpResponse msg) |
Object |
StaticsHandler.process(HttpResponse response) |
Object |
HooksHandler.process(HttpResponse resp) |
abstract Object |
HttpPrePostProcessor.process(HttpResponse msg) |
void |
HooksHandler.processAfter(HttpRequest req,
HttpResponse response) |
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.
|
| 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.