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 final RestServerConfiguration
     
    protected static final org.infinispan.rest.logging.Log
     
    protected final RestServer
     
  • Method Summary

    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
     
  • Field Details

    • logger

      protected static final org.infinispan.rest.logging.Log logger
    • restServer

      protected final RestServer restServer
    • configuration

      protected final RestServerConfiguration 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 class BaseHttpRequestHandler
    • exceptionCaught

      public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e)