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. |
void |
UpgradeOutputSink.onPeerWindowUpdate(int delta) |
protected abstract void |
Http2ConnectionOutputSink.onPeerWindowUpdate(int delta) |
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.
|
abstract Buffer |
Source.read(int length)
Returns the number of bytes to be written.
|
Copyright © 2024 Oracle Corporation. All rights reserved.