| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private ChannelFutureListener | |
| private static final int | |
| private static final int | |
| private int | |
| private int | |
| private volatile int | |
| private int | |
| private int | |
| private final int | |
| private final AtomicInteger | |
| private static final SpdyProtocolException | |
| private boolean | |
| private int | |
| private boolean | |
| private final boolean | |
| private final SpdySession | |
| private static final SpdyProtocolException |
| Access | Constructor and Description |
|---|---|
| public | SpdySessionHandler(SpdyVersion
the protocol version version, boolean 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.Creates a new session handler. |
| closeSessionFutureListener | back to summary |
|---|---|
| private ChannelFutureListener closeSessionFutureListener | |
| DEFAULT_MAX_CONCURRENT_STREAMS | back to summary |
|---|---|
| private static final int DEFAULT_MAX_CONCURRENT_STREAMS | |
| DEFAULT_WINDOW_SIZE | back to summary |
|---|---|
| private static final int DEFAULT_WINDOW_SIZE | |
| initialReceiveWindowSize | back to summary |
|---|---|
| private int initialReceiveWindowSize | |
| initialSendWindowSize | back to summary |
|---|---|
| private int initialSendWindowSize | |
| initialSessionReceiveWindowSize | back to summary |
|---|---|
| private volatile int initialSessionReceiveWindowSize | |
| lastGoodStreamId | back to summary |
|---|---|
| private int lastGoodStreamId | |
| localConcurrentStreams | back to summary |
|---|---|
| private int localConcurrentStreams | |
| minorVersion | back to summary |
|---|---|
| private final int minorVersion | |
| pings | back to summary |
|---|---|
| private final AtomicInteger pings | |
| PROTOCOL_EXCEPTION | back to summary |
|---|---|
| private static final SpdyProtocolException PROTOCOL_EXCEPTION | |
| receivedGoAwayFrame | back to summary |
|---|---|
| private boolean receivedGoAwayFrame | |
| remoteConcurrentStreams | back to summary |
|---|---|
| private int remoteConcurrentStreams | |
| sentGoAwayFrame | back to summary |
|---|---|
| private boolean sentGoAwayFrame | |
| server | back to summary |
|---|---|
| private final boolean server | |
| spdySession | back to summary |
|---|---|
| private final SpdySession spdySession | |
| STREAM_CLOSED | back to summary |
|---|---|
| private static final SpdyProtocolException STREAM_CLOSED | |
| SpdySessionHandler | back to summary |
|---|---|
| public SpdySessionHandler(SpdyVersion version, boolean server) Creates a new session handler.
| |
| acceptStream | back to summary |
|---|---|
| private boolean acceptStream(int streamId, byte priority, boolean remoteSideClosed, boolean localSideClosed) | |
| channelInactive | back to summary |
|---|---|
| public void channelInactive(ChannelHandlerContext ctx) throws Exception Overrides io. Implements io. Doc from io. Calls
| |
| channelRead | back to summary |
|---|---|
| public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception Overrides io. Implements io. Doc from io. Calls
| |
| close | back to summary |
|---|---|
| public void close(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception Overrides io. Implements io. Doc from io. Calls
| |
| exceptionCaught | back to summary |
|---|---|
| public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception Overrides io. Implements io. Doc from io. Gets called if a
| |
| halfCloseStream | back to summary |
|---|---|
| private void halfCloseStream(int streamId, boolean remote, ChannelFuture future) | |
| handleOutboundMessage | back to summary |
|---|---|
| private void handleOutboundMessage(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception | |
| isRemoteInitiatedId | back to summary |
|---|---|
| private boolean isRemoteInitiatedId(int id) | |
| issueSessionError | back to summary |
|---|---|
| private void issueSessionError(ChannelHandlerContext ctx, SpdySessionStatus status) | |
| issueStreamError | back to summary |
|---|---|
| private void issueStreamError(ChannelHandlerContext ctx, int streamId, SpdyStreamStatus status) | |
| removeStream | back to summary |
|---|---|
| private void removeStream(int streamId, ChannelFuture future) | |
| sendGoAwayFrame | back to summary |
|---|---|
| private void sendGoAwayFrame(ChannelHandlerContext ctx, ChannelPromise future) | |
| sendGoAwayFrame | back to summary |
|---|---|
| private ChannelFuture sendGoAwayFrame(ChannelHandlerContext ctx, SpdySessionStatus status) | |
| setSessionReceiveWindowSize | back to summary |
|---|---|
| public void setSessionReceiveWindowSize(int sessionReceiveWindowSize) | |
| updateInitialReceiveWindowSize | back to summary |
|---|---|
| private void updateInitialReceiveWindowSize(int newInitialWindowSize) | |
| updateInitialSendWindowSize | back to summary |
|---|---|
| private void updateInitialSendWindowSize(int newInitialWindowSize) | |
| updateSendWindowSize | back to summary |
|---|---|
| private void updateSendWindowSize(final ChannelHandlerContext ctx, int streamId, int deltaWindowSize) | |
| write | back to summary |
|---|---|
| public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception Overrides io. Implements io. Doc from io. Calls
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ChannelHandlerContext | |
| private final ChannelPromise |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | operationComplete(ChannelFuture
the source sentGoAwayFuture)Future which called this callbackImplements io. Future has been completed.
|
| ctx | back to summary |
|---|---|
| private final ChannelHandlerContext ctx | |
| promise | back to summary |
|---|---|
| private final ChannelPromise promise | |
| ClosingChannelFutureListener | back to summary |
|---|---|
| pack-priv ClosingChannelFutureListener(ChannelHandlerContext ctx, ChannelPromise promise) | |
| operationComplete | back to summary |
|---|---|
| public void operationComplete(ChannelFuture sentGoAwayFuture) throws Exception Implements io. Doc from io. Invoked when the operation associated with the
| |