Class SpdySessionHandler

java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.handler.codec.spdy.SpdySessionHandler
All Implemented Interfaces:
ChannelDownstreamHandler, ChannelHandler, ChannelUpstreamHandler

public class SpdySessionHandler extends SimpleChannelUpstreamHandler implements ChannelDownstreamHandler
Manages streams within a SPDY session.
  • Field Details

    • PROTOCOL_EXCEPTION

      private static final SpdyProtocolException PROTOCOL_EXCEPTION
    • DEFAULT_WINDOW_SIZE

      private static final int DEFAULT_WINDOW_SIZE
      See Also:
    • initialSendWindowSize

      private volatile int initialSendWindowSize
    • initialReceiveWindowSize

      private volatile int initialReceiveWindowSize
    • initialSessionReceiveWindowSize

      private volatile int initialSessionReceiveWindowSize
    • spdySession

      private final SpdySession spdySession
    • lastGoodStreamId

      private volatile int lastGoodStreamId
    • DEFAULT_MAX_CONCURRENT_STREAMS

      private static final int DEFAULT_MAX_CONCURRENT_STREAMS
      See Also:
    • remoteConcurrentStreams

      private volatile int remoteConcurrentStreams
    • localConcurrentStreams

      private volatile int localConcurrentStreams
    • flowControlLock

      private final Object flowControlLock
    • pings

      private final AtomicInteger pings
    • sentGoAwayFrame

      private volatile boolean sentGoAwayFrame
    • receivedGoAwayFrame

      private volatile boolean receivedGoAwayFrame
    • closeSessionFutureListener

      private volatile ChannelFutureListener closeSessionFutureListener
    • server

      private final boolean server
    • minorVersion

      private final int minorVersion
  • Constructor Details

    • SpdySessionHandler

      public SpdySessionHandler(SpdyVersion spdyVersion, boolean server)
      Creates a new session handler.
      Parameters:
      spdyVersion - the protocol version
      server - true if and only if this session handler should handle the server endpoint of the connection. false if and only if this session handler should handle the client endpoint of the connection.
  • Method Details