public final class Http2Connection14 extends Http2Connection
Http2Connection.PushStreamBuilder, Http2Connection.RegularStreamBuilder, Http2Connection.StreamBuildertmpHeaderFramesList| Constructor and Description |
|---|
Http2Connection14(Connection<?> connection,
boolean isServer,
Http2BaseFilter handlerFilter) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultConnectionWindowSize() |
int |
getDefaultMaxConcurrentStreams() |
int |
getDefaultStreamWindowSize() |
int |
getFrameHeaderSize() |
protected int |
getFrameSize(Buffer buffer)
Returns the total frame size (including header size), or -1
if the buffer doesn't contain enough bytes to read the size.
|
protected int |
getSpecDefaultFramePayloadSize() |
protected int |
getSpecMaxFramePayloadSize() |
protected int |
getSpecMinFramePayloadSize() |
DraftVersion |
getVersion() |
protected boolean |
isFrameReady(Buffer buffer) |
protected Http2ConnectionOutputSink |
newOutputSink() |
Http2Frame |
parseHttp2FrameHeader(Buffer buffer) |
void |
serializeHttp2FrameHeader(Http2Frame frame,
Buffer buffer) |
acceptUpgradeStream, checkFrameSequenceSemantics, encodeHttpHeaderAsHeaderFrames, encodeHttpRequestAsPushPromiseFrames, get, getAvailablePeerConnectionWindowSize, getConnection, getLocalConnectionWindowSize, getLocalMaxConcurrentStreams, getLocalMaxFramePayloadSize, getLocalStreamWindowSize, getMemoryManager, getNewClientStreamLock, getNextLocalStreamId, getOutputSink, getPeerMaxConcurrentStreams, getPeerMaxFramePayloadSize, getPeerStreamWindowSize, getStream, getStreamBuilder, goAway, isLocallyInitiatedStream, isServer, newStream, newUpgradeStream, onOversizedFrame, openStream, openUpgradeStream, prepareSettings, prepareSettings, sendClientPreface, sendRstFrame, sendServerPreface, sendWindowUpdate, setLocalConnectionWindowSize, setLocalMaxConcurrentStreams, setLocalStreamWindowSize, setPeerMaxFramePayloadSizepublic Http2Connection14(Connection<?> connection, boolean isServer, Http2BaseFilter handlerFilter)
public DraftVersion getVersion()
getVersion in class Http2Connectionprotected Http2ConnectionOutputSink newOutputSink()
newOutputSink in class Http2Connectionpublic int getFrameHeaderSize()
getFrameHeaderSize in class Http2Connectionprotected int getSpecDefaultFramePayloadSize()
getSpecDefaultFramePayloadSize in class Http2Connectionprotected int getSpecMinFramePayloadSize()
getSpecMinFramePayloadSize in class Http2Connectionprotected int getSpecMaxFramePayloadSize()
getSpecMaxFramePayloadSize in class Http2Connectionpublic int getDefaultConnectionWindowSize()
getDefaultConnectionWindowSize in class Http2Connectionpublic int getDefaultStreamWindowSize()
getDefaultStreamWindowSize in class Http2Connectionpublic int getDefaultMaxConcurrentStreams()
getDefaultMaxConcurrentStreams in class Http2Connectionprotected boolean isFrameReady(Buffer buffer)
isFrameReady in class Http2Connectionprotected int getFrameSize(Buffer buffer)
Http2ConnectiongetFrameSize in class Http2Connectionpublic Http2Frame parseHttp2FrameHeader(Buffer buffer) throws Http2ConnectionException
parseHttp2FrameHeader in class Http2ConnectionHttp2ConnectionExceptionpublic void serializeHttp2FrameHeader(Http2Frame frame, Buffer buffer)
serializeHttp2FrameHeader in class Http2ConnectionCopyright © 2021 Oracle Corporation. All rights reserved.