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 RestServerConfigurationconfigurationprotected static org.infinispan.rest.logging.Logloggerprotected RestServerrestServer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpRequest request)voidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e)protected org.infinispan.rest.logging.LoggetLogger()
-
-
-
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:
getLoggerin classBaseHttpRequestHandler
-
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e)
-
-