
public class HttpRestR66Handler extends HttpRestHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpRestR66Handler.RESTHANDLERS |
HttpRestHandler.HttpCleanChannelFutureListener, HttpRestHandler.METHODarguments, cumulativeBody, dbSession, decoder, defaultConfiguration, factory, group, handler, jsonObject, request, response, restConfiguration, restHashMap, rootHandler, status, TempPath| Constructor and Description |
|---|
HttpRestR66Handler(RestConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
checkConnection(io.netty.channel.ChannelHandlerContext ctx)
To be used for instance to check correctness of connection
Note that ARG_METHOD is only set from current request. |
static void |
defaultHandlers()
To be called once to ensure default is built
|
static HashMap<String,DbSession> |
getDbSessionFromUser() |
protected static HttpRestHandler.METHOD[] |
getMethods(byte check) |
ServerActions |
getServerHandler() |
static void |
initializeService(RestConfiguration restConfiguration)
Initialize the REST service (server side) for one restConfiguration
|
static void |
instantiateHandlers(RestConfiguration restConfiguration) |
bodyChunk, channelActive, channelRead0, clean, createDecoder, exceptionCaught, finalizeSend, forceClosing, getBodyJsonArgs, getDbSession, getHandler, getRequest, getResponse, getStatus, initialize, initialize, isWillClose, readAllHttpData, readHttpData, readHttpDataChunkByChunk, setCookies, setStatus, setWillCloseacceptInboundMessage, channelReadchannelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic HttpRestR66Handler(RestConfiguration config)
public static void defaultHandlers()
protected static HttpRestHandler.METHOD[] getMethods(byte check)
public static void instantiateHandlers(RestConfiguration restConfiguration)
protected final void checkConnection(io.netty.channel.ChannelHandlerContext ctx)
throws HttpInvalidAuthenticationException
HttpRestHandlercheckConnection in class HttpRestHandlerHttpInvalidAuthenticationExceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class HttpRestHandlerExceptionpublic static void initializeService(RestConfiguration restConfiguration)
restConfiguration - public static HashMap<String,DbSession> getDbSessionFromUser()
public ServerActions getServerHandler()
Copyright © 2009–2022 Waarp. All rights reserved.