Package | Description |
---|---|
org.glassfish.grizzly.http2 |
Modifier and Type | Method and Description |
---|---|
Http2StreamState |
Http2Stream.getState() |
static Http2StreamState |
Http2StreamState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Http2StreamState[] |
Http2StreamState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected Http2Stream |
Http2Connection.newStream(HttpRequestPacket request,
int streamId,
int refStreamId,
int priority,
Http2StreamState initialState) |
protected Http2Stream |
Http2Connection.newUpgradeStream(HttpRequestPacket request,
int priority,
Http2StreamState initialState) |
Http2Stream |
Http2Connection.openStream(HttpRequestPacket request,
int streamId,
int refStreamId,
int priority,
Http2StreamState initState)
Method is not thread-safe, it is expected that it will be called
within
Http2Connection.getNewClientStreamLock() lock scope. |
Constructor and Description |
---|
Http2Stream(Http2Connection http2Connection,
HttpRequestPacket request,
int priority,
Http2StreamState initState)
Construct upgrade stream, which is half HTTP, half HTTP2
|
Http2Stream(Http2Connection http2Connection,
HttpRequestPacket request,
int streamId,
int refStreamId,
int priority,
Http2StreamState initState)
Create HTTP2 stream.
|
Copyright © 2021 Oracle Corporation. All rights reserved.