Package io.undertow.protocols.http2
Class Http2PushPromiseStreamSinkChannel
- java.lang.Object
-
- io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel<Http2Channel,AbstractHttp2StreamSourceChannel,AbstractHttp2StreamSinkChannel>
-
- io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel
-
- io.undertow.protocols.http2.Http2StreamSinkChannel
-
- io.undertow.protocols.http2.Http2DataStreamSinkChannel
-
- io.undertow.protocols.http2.Http2PushPromiseStreamSinkChannel
-
- All Implemented Interfaces:
Http2Stream,java.io.Closeable,java.lang.AutoCloseable,java.nio.channels.Channel,java.nio.channels.GatheringByteChannel,java.nio.channels.InterruptibleChannel,java.nio.channels.WritableByteChannel,org.xnio.channels.CloseableChannel,org.xnio.channels.Configurable,org.xnio.channels.StreamSinkChannel,org.xnio.channels.SuspendableWriteChannel
public class Http2PushPromiseStreamSinkChannel extends Http2DataStreamSinkChannel
Push promise channel- Author:
- Stuart Douglas
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.undertow.protocols.http2.Http2DataStreamSinkChannel
Http2DataStreamSinkChannel.TrailersProducer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPushedStreamId()protected intgrabFlowControlBytes(int bytes)this stream is not flow controlledprotected voidwriteBeforeHeaderBlock(java.nio.ByteBuffer buffer)-
Methods inherited from class io.undertow.protocols.http2.Http2DataStreamSinkChannel
channelForciblyClosed, createFrameHeaderImpl, flush, getCompletionListener, getHeaders, getTrailersProducer, handleFlushComplete, isFlushRequiredOnEmptyBuffer, setCompletionListener, setTrailersProducer, write, write, write, writeFinal, writeFinal, writeFinal
-
Methods inherited from class io.undertow.protocols.http2.Http2StreamSinkChannel
allocateAll, createFrameHeader, getStreamId
-
Methods inherited from class io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel
isLastFrame
-
Methods inherited from class io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel
awaitWritable, awaitWritable, close, getAwaitWritableTimeout, getBuffer, getChannel, getCloseSetter, getIoThread, getOption, getWorker, getWriteSetter, getWriteThread, isBroken, isBufferFull, isFinalFrameQueued, isFirstDataWritten, isOpen, isReadyForFlush, isWriteResumed, isWritesShutdown, markBroken, preWriteTransform, resumeWrites, resumeWritesInternal, safeToSend, send, sendInternal, setOption, shutdownWrites, supportsOption, suspendWrites, transferFrom, transferFrom, wakeupWrites
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.undertow.protocols.http2.Http2Stream
getStreamId
-
-
-
-
Method Detail
-
writeBeforeHeaderBlock
protected void writeBeforeHeaderBlock(java.nio.ByteBuffer buffer)
- Overrides:
writeBeforeHeaderBlockin classHttp2DataStreamSinkChannel
-
grabFlowControlBytes
protected int grabFlowControlBytes(int bytes)
this stream is not flow controlled- Overrides:
grabFlowControlBytesin classHttp2StreamSinkChannel- Parameters:
bytes-- Returns:
-
getPushedStreamId
public int getPushedStreamId()
-
-