Class HttpLifecycleChannelHandler

java.lang.Object
com.netflix.netty.common.HttpLifecycleChannelHandler
Direct Known Subclasses:
HttpClientLifecycleChannelHandler, HttpServerLifecycleChannelHandler

public abstract class HttpLifecycleChannelHandler extends Object
User: [email protected] Date: 5/24/16 Time: 4:09 PM
  • Field Details

    • ATTR_HTTP_REQ

      public static final io.netty.util.AttributeKey<io.netty.handler.codec.http.HttpRequest> ATTR_HTTP_REQ
    • ATTR_HTTP_RESP

      public static final io.netty.util.AttributeKey<io.netty.handler.codec.http.HttpResponse> ATTR_HTTP_RESP
    • ATTR_HTTP_PIPELINE_REJECT

      public static final io.netty.util.AttributeKey<Boolean> ATTR_HTTP_PIPELINE_REJECT
    • ATTR_STATE

      protected static final io.netty.util.AttributeKey<HttpLifecycleChannelHandler.State> ATTR_STATE
  • Constructor Details

    • HttpLifecycleChannelHandler

      public HttpLifecycleChannelHandler()
  • Method Details

    • fireStartEvent

      protected static boolean fireStartEvent(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest request)
    • fireCompleteEventIfNotAlready

      protected static boolean fireCompleteEventIfNotAlready(io.netty.channel.ChannelHandlerContext ctx, HttpLifecycleChannelHandler.CompleteReason reason)
    • addPassportState

      protected static void addPassportState(io.netty.channel.ChannelHandlerContext ctx, PassportState state)