| Modifier and Type | Class and Description |
|---|---|
| public static enum | Http2Stream.
The allowed states of an HTTP2 stream. |
| Modifier and Type | Method and Description |
|---|---|
| public Http2Stream | |
| public Http2Stream | |
| public Http2Stream | |
| public <V> V | getProperty(Http2Connection.
Returns application-defined data if any was associated with this stream. |
| public Http2Stream | headersReceived(boolean
true if the headers contain an informational status code (for responses only).Indicates that headers have been received. |
| public Http2Stream | headersSent(boolean
true if the headers contain an informational status code (for responses only).Indicates that headers have been sent to the remote endpoint on this stream. |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isResetSent()
Indicates whether a |
| public boolean | |
| public boolean | |
| public Http2Stream | open(boolean halfClosed)
Opens this stream, making it available via
|
| public Http2Stream | |
| public <V> V | removeProperty(Http2Connection.
Returns and removes application-defined data if any was associated with this stream. |
| public Http2Stream | resetSent()
Sets the flag indicating that a |
| public <V> V | Returns: The value that was previously associated withkey, or null if there was none.Associates the application-defined data with this stream. |
| public Http2Stream. |
| close | back to summary |
|---|---|
| public Http2Stream close() Closes the stream. | |
| closeLocalSide | back to summary |
|---|---|
| public Http2Stream closeLocalSide() Closes the local side of this stream. If this makes the stream closed, the child is closed as well. | |
| closeRemoteSide | back to summary |
|---|---|
| public Http2Stream closeRemoteSide() Closes the remote side of this stream. If this makes the stream closed, the child is closed as well. | |
| getProperty | back to summary |
|---|---|
| public <V> V getProperty(Http2Connection. Returns application-defined data if any was associated with this stream. | |
| headersReceived | back to summary |
|---|---|
| public Http2Stream headersReceived(boolean isInformational) Indicates that headers have been received. The first call to this method would be for the initial headers
(see
| |
| headersSent | back to summary |
|---|---|
| public Http2Stream headersSent(boolean isInformational) Indicates that headers have been sent to the remote endpoint on this stream. The first call to this method would
be for the initial headers (see
| |
| id | back to summary |
|---|---|
| public int id() Gets the unique identifier for this stream within the connection. | |
| isHeadersReceived | back to summary |
|---|---|
| public boolean isHeadersReceived() Indicates whether or not the initial headers have been received. | |
| isHeadersSent | back to summary |
|---|---|
| public boolean isHeadersSent() Indicates whether or not headers were sent to the remote endpoint. | |
| isPushPromiseSent | back to summary |
|---|---|
| public boolean isPushPromiseSent() Indicates whether or not a push promise was sent to the remote endpoint. | |
| isResetSent | back to summary |
|---|---|
| public boolean isResetSent() Indicates whether a | |
| isTrailersReceived | back to summary |
|---|---|
| public boolean isTrailersReceived() Indicates whether or not the trailers have been received. | |
| isTrailersSent | back to summary |
|---|---|
| public boolean isTrailersSent() Indicates whether or not trailers were sent to the remote endpoint. | |
| open | back to summary |
|---|---|
| public Http2Stream open(boolean halfClosed) throws Http2Exception Opens this stream, making it available via
| |
| pushPromiseSent | back to summary |
|---|---|
| public Http2Stream pushPromiseSent() Indicates that a push promise was sent to the remote endpoint. | |
| removeProperty | back to summary |
|---|---|
| public <V> V removeProperty(Http2Connection. Returns and removes application-defined data if any was associated with this stream. | |
| resetSent | back to summary |
|---|---|
| public Http2Stream resetSent() Sets the flag indicating that a | |
| setProperty | back to summary |
|---|---|
| public <V> V setProperty(Http2Connection. Associates the application-defined data with this stream.
| |
| state | back to summary |
|---|---|
| public Http2Stream. Gets the state of this stream. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Http2Stream. | |
| public static final Http2Stream. | |
| public static final Http2Stream. | |
| public static final Http2Stream. | |
| private final boolean | |
| public static final Http2Stream. | |
| private final boolean | |
| public static final Http2Stream. | |
| public static final Http2Stream. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | localSideOpen()
Indicates whether the local side of this stream is open (i.e. the state is either
|
| public boolean | remoteSideOpen()
Indicates whether the remote side of this stream is open (i.e. the state is either
|
| public static Http2Stream. | |
| public static Http2Stream. |
| CLOSED | back to summary |
|---|---|
| public static final Http2Stream. | |
| HALF_CLOSED_LOCAL | back to summary |
|---|---|
| public static final Http2Stream. | |
| HALF_CLOSED_REMOTE | back to summary |
|---|---|
| public static final Http2Stream. | |
| IDLE | back to summary |
|---|---|
| public static final Http2Stream. | |
| localSideOpen | back to summary |
|---|---|
| private final boolean localSideOpen | |
| OPEN | back to summary |
|---|---|
| public static final Http2Stream. | |
| remoteSideOpen | back to summary |
|---|---|
| private final boolean remoteSideOpen | |
| RESERVED_LOCAL | back to summary |
|---|---|
| public static final Http2Stream. | |
| RESERVED_REMOTE | back to summary |
|---|---|
| public static final Http2Stream. | |
| State | back to summary |
|---|---|
| private State(boolean localSideOpen, boolean remoteSideOpen) | |
| localSideOpen | back to summary |
|---|---|
| public boolean localSideOpen() Indicates whether the local side of this stream is open (i.e. the state is either
| |
| remoteSideOpen | back to summary |
|---|---|
| public boolean remoteSideOpen() Indicates whether the remote side of this stream is open (i.e. the state is either
| |
| valueOf | back to summary |
|---|---|
| public static Http2Stream. | |
| values | back to summary |
|---|---|
| public static Http2Stream. | |