| Package | Description |
|---|---|
| io.higgs.http.server | |
| io.higgs.http.server.protocol | |
| io.higgs.http.server.protocol.mediaTypeDecoders | |
| io.higgs.http.server.transformers |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
DefaultParamInjector.extractCookieParam(MethodParam param,
HttpRequest request) |
protected Object |
DefaultParamInjector.extractFormParam(MethodParam param,
HttpRequest request) |
protected Object |
DefaultParamInjector.extractHeaderParam(MethodParam param,
HttpRequest request) |
protected Object |
DefaultParamInjector.extractQueryParam(MethodParam param,
HttpRequest request) |
void |
HttpResponse.finalizeCustomHeaders(HttpRequest request)
sets any overridden headers
|
Object[] |
ParamInjector.injectParams(HttpMethod method,
HttpRequest request,
HttpResponse res,
io.netty.channel.ChannelHandlerContext ctx,
Object[] params) |
Object[] |
DefaultParamInjector.injectParams(HttpMethod method,
HttpRequest request,
HttpResponse res,
io.netty.channel.ChannelHandlerContext ctx,
Object[] args) |
void |
Transcriber.transcribe(HttpRequest request) |
| Constructor and Description |
|---|
HttpResponse(HttpRequest message)
Initializes a response with 200 status and sets the connection header to whatever the client
requested.
|
| Modifier and Type | Field and Description |
|---|---|
protected HttpRequest |
HttpHandler.request
The current HTTP request
|
| Modifier and Type | Field and Description |
|---|---|
protected HttpRequest |
FormUrlEncodedDecoder.request |
| Constructor and Description |
|---|
FormUrlEncodedDecoder(HttpRequest request) |
JsonDecoder(HttpRequest request) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResponseTransformer.canTransform(Object response,
HttpRequest request,
MediaType mediaType,
HttpMethod method,
io.netty.channel.ChannelHandlerContext ctx)
Determines if, given the response object and the media types accepted by the client this
transformer can convert the response object into one of the accepted types
|
boolean |
BaseTransformer.canTransform(Object response,
HttpRequest request,
MediaType mediaType,
HttpMethod method,
io.netty.channel.ChannelHandlerContext ctx) |
boolean |
BaseTransformer.mediaTypeMatches(HttpRequest request)
Checks if the this transformer supports the
MediaTypes supported by the
request. |
void |
ResponseTransformer.transform(Object response,
HttpRequest request,
HttpResponse httpResponse,
MediaType mediaType,
HttpMethod method,
io.netty.channel.ChannelHandlerContext ctx)
Given the response object transform it into one of the accepted media types
|
Copyright © 2012-2015. All Rights Reserved.