Top Description Fields Constructors Methods
io.undertow.protocols.http2

pack-priv Class Http2GoAwayStreamSinkChannel

extends Http2NoDataStreamSinkChannel
Class Inheritance
Imports
java.nio.ByteBuffer, io.undertow.server.protocol.framed.SendFrameHeader, io.undertow.util.ImmediatePooledByteBuffer

The go away

Todo

at the moment we don't allow the additional debug data

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
public static final int
private final int
private final int

Constructor Summary

AccessConstructor and Description
protected
Http2GoAwayStreamSinkChannel(Http2Channel channel, int status, int lastGoodStreamId)

Method Summary

Modifier and TypeMethod and Description
protected SendFrameHeader
protected boolean
Inherited from io.undertow.protocols.http2.Http2NoDataStreamSinkChannel:
transferFromtransferFromwritewritewritewriteFinalwriteFinalwriteFinal

Field Detail

HEADER_FIRST_LINEback to summary
public static final int HEADER_FIRST_LINE
lastGoodStreamIdback to summary
private final int lastGoodStreamId
statusback to summary
private final int status

Constructor Detail

Http2GoAwayStreamSinkChannelback to summary
protected Http2GoAwayStreamSinkChannel(Http2Channel channel, int status, int lastGoodStreamId)

Method Detail

createFrameHeaderback to summary
protected SendFrameHeader createFrameHeader()

Overrides io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel.createFrameHeader.

Annotations
@Override
isLastFrameback to summary
protected boolean isLastFrame()

Overrides io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel.isLastFrame.

Returns:boolean

Doc from io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel.isLastFrame.

true If this is the last frame that will be sent on this connection

Annotations
@Override