Package | Description |
---|---|
org.glassfish.grizzly.http2 |
Modifier and Type | Method and Description |
---|---|
Http2Stream |
Http2Connection.acceptUpgradeStream(HttpRequestPacket request,
int priority,
boolean fin)
The method is called to create an
Http2Stream initiated via
HTTP/1.1 Upgrade mechanism. |
Http2Stream |
Http2Packet.getHttp2Stream() |
Http2Stream |
Http2Connection.getStream(int streamId) |
static Http2Stream |
Http2Stream.getStreamFor(HttpHeader httpHeader) |
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.PushStreamBuilder.open()
Build the HttpRequestPacket message.
|
Http2Stream |
Http2Connection.RegularStreamBuilder.open()
Build the HttpRequestPacket message.
|
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. |
Http2Stream |
Http2Connection.openUpgradeStream(HttpRequestPacket request,
int priority)
The method is called on the client side, when the server confirms
HTTP/1.1 -> HTTP/2.0 upgrade with '101' response.
|
Modifier and Type | Method and Description |
---|---|
static Source.SourceFactory |
Source.factory(Http2Stream spdyStream)
Returns the
Source.SourceFactory associated with the Http2Stream . |
protected void |
Http2ConnectionOutputSink.writeDataDownStream(Http2Stream stream,
List<Http2Frame> headerFrames,
Buffer data,
CompletionHandler<WriteResult> completionHandler,
MessageCloner<Buffer> messageCloner,
boolean isLast) |
Modifier and Type | Method and Description |
---|---|
void |
UpgradeOutputSink.flush(CompletionHandler<Http2Stream> completionHandler) |
Copyright © 2016 Oracle Corporation. All rights reserved.