Package org.infinispan.rest
Class RestRequestHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>
-
- org.infinispan.rest.BaseHttpRequestHandler
-
- org.infinispan.rest.RestRequestHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class RestRequestHandler extends BaseHttpRequestHandler
Netty handler for REST requests.- Author:
- Sebastian Ćaskawiec
-
-
Field Summary
Fields Modifier and Type Field Description protected RestServerConfiguration
configuration
protected static org.infinispan.rest.logging.Log
logger
protected RestServer
restServer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpRequest request)
void
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e)
protected org.infinispan.rest.logging.Log
getLogger()
-
-
-
Field Detail
-
logger
protected static final org.infinispan.rest.logging.Log logger
-
restServer
protected final RestServer restServer
-
configuration
protected final RestServerConfiguration configuration
-
-
Method Detail
-
channelRead0
public void channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpRequest request)
-
getLogger
protected org.infinispan.rest.logging.Log getLogger()
- Specified by:
getLogger
in classBaseHttpRequestHandler
-
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e)
-
-