public class Http2DataStreamSinkChannel extends Http2StreamSinkChannel implements Http2Stream
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
Http2DataStreamSinkChannel.TrailersProducer |
allocateAll, createFrameHeader, getStreamId, grabFlowControlBytesisLastFrameawaitWritable, 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, wakeupWritesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStreamIdpublic Http2DataStreamSinkChannel.TrailersProducer getTrailersProducer()
public void setTrailersProducer(Http2DataStreamSinkChannel.TrailersProducer trailersProducer)
protected SendFrameHeader createFrameHeaderImpl()
createFrameHeaderImpl in class Http2StreamSinkChannelpublic long write(ByteBuffer[] srcs, int offset, int length) throws IOException
write in interface GatheringByteChannelwrite in class AbstractFramedStreamSinkChannel<Http2Channel,AbstractHttp2StreamSourceChannel,AbstractHttp2StreamSinkChannel>IOExceptionpublic long write(ByteBuffer[] srcs) throws IOException
write in interface GatheringByteChannelwrite in class AbstractFramedStreamSinkChannel<Http2Channel,AbstractHttp2StreamSourceChannel,AbstractHttp2StreamSinkChannel>IOExceptionpublic int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelwrite in class AbstractFramedStreamSinkChannel<Http2Channel,AbstractHttp2StreamSourceChannel,AbstractHttp2StreamSinkChannel>IOExceptionpublic long writeFinal(ByteBuffer[] srcs, int offset, int length) throws IOException
writeFinal in interface org.xnio.channels.StreamSinkChannelwriteFinal in class AbstractFramedStreamSinkChannel<Http2Channel,AbstractHttp2StreamSourceChannel,AbstractHttp2StreamSinkChannel>IOExceptionpublic long writeFinal(ByteBuffer[] srcs) throws IOException
writeFinal in interface org.xnio.channels.StreamSinkChannelwriteFinal in class AbstractFramedStreamSinkChannel<Http2Channel,AbstractHttp2StreamSourceChannel,AbstractHttp2StreamSinkChannel>IOExceptionpublic int writeFinal(ByteBuffer src) throws IOException
writeFinal in interface org.xnio.channels.StreamSinkChannelwriteFinal in class AbstractFramedStreamSinkChannel<Http2Channel,AbstractHttp2StreamSourceChannel,AbstractHttp2StreamSinkChannel>IOExceptionpublic boolean flush()
throws IOException
flush in interface org.xnio.channels.SuspendableWriteChannelflush in class AbstractFramedStreamSinkChannel<Http2Channel,AbstractHttp2StreamSourceChannel,AbstractHttp2StreamSinkChannel>IOExceptionprotected void writeBeforeHeaderBlock(ByteBuffer buffer)
protected boolean isFlushRequiredOnEmptyBuffer()
public HeaderMap getHeaders()
protected void handleFlushComplete(boolean finalFrame)
handleFlushComplete in class Http2StreamSinkChannelprotected void channelForciblyClosed()
throws IOException
AbstractFramedStreamSinkChannelchannelForciblyClosed in class Http2StreamSinkChannelIOExceptionpublic org.xnio.ChannelListener<Http2DataStreamSinkChannel> getCompletionListener()
public void setCompletionListener(org.xnio.ChannelListener<Http2DataStreamSinkChannel> completionListener)
Copyright © 2026 JBoss by Red Hat. All rights reserved.