public final class Http2Connection14 extends Http2Connection
Http2Connection.PushStreamBuilder, Http2Connection.RegularStreamBuilder, Http2Connection.StreamBuilder
tmpHeaderFramesList
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, setPeerMaxFramePayloadSize
public Http2Connection14(Connection<?> connection, boolean isServer, Http2BaseFilter handlerFilter)
public DraftVersion getVersion()
getVersion
in class Http2Connection
protected Http2ConnectionOutputSink newOutputSink()
newOutputSink
in class Http2Connection
public int getFrameHeaderSize()
getFrameHeaderSize
in class Http2Connection
protected int getSpecDefaultFramePayloadSize()
getSpecDefaultFramePayloadSize
in class Http2Connection
protected int getSpecMinFramePayloadSize()
getSpecMinFramePayloadSize
in class Http2Connection
protected int getSpecMaxFramePayloadSize()
getSpecMaxFramePayloadSize
in class Http2Connection
public int getDefaultConnectionWindowSize()
getDefaultConnectionWindowSize
in class Http2Connection
public int getDefaultStreamWindowSize()
getDefaultStreamWindowSize
in class Http2Connection
public int getDefaultMaxConcurrentStreams()
getDefaultMaxConcurrentStreams
in class Http2Connection
protected boolean isFrameReady(Buffer buffer)
isFrameReady
in class Http2Connection
protected int getFrameSize(Buffer buffer)
Http2Connection
getFrameSize
in class Http2Connection
public Http2Frame parseHttp2FrameHeader(Buffer buffer) throws Http2ConnectionException
parseHttp2FrameHeader
in class Http2Connection
Http2ConnectionException
public void serializeHttp2FrameHeader(Http2Frame frame, Buffer buffer)
serializeHttp2FrameHeader
in class Http2Connection
Copyright © 2018 Oracle Corporation. All rights reserved.