Uses of Class
org.glassfish.grizzly.http2.Http2Stream
Packages that use Http2Stream
-
Uses of Http2Stream in org.glassfish.grizzly.http2
Methods in org.glassfish.grizzly.http2 that return Http2StreamModifier and TypeMethodDescriptionHttp2Session.acceptUpgradeStream(HttpRequestPacket request, int priority, boolean fin) The method is called to create anHttp2Streaminitiated via HTTP/1.1 Upgrade mechanism.Http2Packet.getHttp2Stream()Http2Session.getStream(int streamId) static Http2StreamHttp2Stream.getStreamFor(HttpHeader httpHeader) protected Http2StreamHttp2Session.newStream(HttpRequestPacket request, int streamId, int refStreamId, boolean exclusive, int priority) protected Http2StreamHttp2Session.newUpgradeStream(HttpRequestPacket request, int priority) Http2Session.openStream(HttpRequestPacket request, int streamId, int parentStreamId, boolean exclusive, int priority) Method is not thread-safe, it is expected that it will be called withinHttp2Session.getNewClientStreamLock()lock scope.Http2Session.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.Methods in org.glassfish.grizzly.http2 with parameters of type Http2StreamModifier and TypeMethodDescriptionprotected voidHttp2SessionOutputSink.writeDataDownStream(Http2Stream stream, List<Http2Frame> headerFrames, Buffer data, CompletionHandler<WriteResult> completionHandler, MessageCloner<Buffer> messageCloner, boolean isLast) Method parameters in org.glassfish.grizzly.http2 with type arguments of type Http2StreamModifier and TypeMethodDescriptionvoidUpgradeOutputSink.flush(CompletionHandler<Http2Stream> completionHandler)