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
Netty handler for REST requests.
- Author:
- Sebastian Ćaskawiec
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RestServerConfiguration
protected static final org.infinispan.rest.logging.Log
protected final RestServer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
logger
protected static final org.infinispan.rest.logging.Log logger -
restServer
-
configuration
-
-
Method Details
-
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
-