Package com.netflix.netty.common
Class HttpLifecycleChannelHandler
java.lang.Object
com.netflix.netty.common.HttpLifecycleChannelHandler
- Direct Known Subclasses:
HttpClientLifecycleChannelHandler
,HttpServerLifecycleChannelHandler
User: [email protected]
Date: 5/24/16
Time: 4:09 PM
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
protected static enum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<Boolean>
static final io.netty.util.AttributeKey<io.netty.handler.codec.http.HttpRequest>
static final io.netty.util.AttributeKey<io.netty.handler.codec.http.HttpResponse>
protected static final io.netty.util.AttributeKey<HttpLifecycleChannelHandler.State>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addPassportState
(io.netty.channel.ChannelHandlerContext ctx, PassportState state) protected static boolean
fireCompleteEventIfNotAlready
(io.netty.channel.ChannelHandlerContext ctx, HttpLifecycleChannelHandler.CompleteReason reason) protected static boolean
fireStartEvent
(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest request)
-
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
-
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)
-