Package com.netflix.netty.common
Class Http2ConnectionExpiryHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
com.netflix.netty.common.AbstrHttpConnectionExpiryHandler
com.netflix.netty.common.Http2ConnectionExpiryHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelOutboundHandler
This needs to be inserted in the pipeline after the Http2 Codex, but before any h2->h1 conversion.
User: [email protected]
Date: 2/8/17
Time: 9:58 AM
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
Fields inherited from class com.netflix.netty.common.AbstrHttpConnectionExpiryHandler
connectionCloseType, connectionExpiryTime, connectionStartTime, LOG, MAX_EXPIRY_DELTA, maxExpiry, maxRequests, maxRequestsUnderBrownout, requestCount
-
Constructor Summary
ConstructorsConstructorDescriptionHttp2ConnectionExpiryHandler
(int maxRequests, int maxRequestsUnderBrownout, int maxExpiry) -
Method Summary
Methods inherited from class com.netflix.netty.common.AbstrHttpConnectionExpiryHandler
isConnectionExpired, maxRequests, write
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
-
Constructor Details
-
Http2ConnectionExpiryHandler
public Http2ConnectionExpiryHandler(int maxRequests, int maxRequestsUnderBrownout, int maxExpiry)
-
-
Method Details
-
isResponseHeaders
- Specified by:
isResponseHeaders
in classAbstrHttpConnectionExpiryHandler
-