public class SpdyStreamStreamSourceChannel extends SpdyStreamSourceChannel
Modifier and Type | Method and Description |
---|---|
protected void | channelForciblyClosed() |
protected void | complete() Method that is invoked when all data has been read. |
org.xnio.ChannelListener<SpdyStreamStreamSourceChannel> | getCompletionListener() |
HeaderMap | getHeaders() |
int | getStreamId() |
protected void | handleHeaderData(FrameHeaderData headerData) |
int | read(ByteBuffer dst) |
long | read(ByteBuffer[] dsts) |
long | read(ByteBuffer[] dsts, int offset, int length) |
void | setCompletionListener(org.xnio.ChannelListener<SpdyStreamStreamSourceChannel> completionListener) |
long | transferTo(long count, ByteBuffer throughBuffer, org.xnio.channels.StreamSinkChannel streamSinkChannel) |
long | transferTo(long position, long count, FileChannel target) |
getSpdyChannel, lastFrame
addCloseTask, awaitReadable, awaitReadable, close, dataReady, getCloseSetter, getFramedChannel, getIoThread, getMaxStreamSize, getOption, getReadFrameCount, getReadSetter, getReadThread, getWorker, isComplete, isOpen, isReadResumed, markStreamBroken, processFrameData, resumeReads, setMaxStreamSize, setOption, shutdownReads, supportsOption, suspendReads, updateFrameDataRemaining, wakeupReads
public int read(ByteBuffer dst) throws IOException
read
in interface ReadableByteChannel
read
in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>
IOException
public long read(ByteBuffer[] dsts, int offset, int length) throws IOException
read
in interface ScatteringByteChannel
read
in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>
IOException
public long read(ByteBuffer[] dsts) throws IOException
read
in interface ScatteringByteChannel
read
in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>
IOException
public long transferTo(long count, ByteBuffer throughBuffer, org.xnio.channels.StreamSinkChannel streamSinkChannel) throws IOException
transferTo
in interface org.xnio.channels.StreamSourceChannel
transferTo
in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>
IOException
public long transferTo(long position, long count, FileChannel target) throws IOException
transferTo
in interface org.xnio.channels.StreamSourceChannel
transferTo
in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>
IOException
protected void handleHeaderData(FrameHeaderData headerData)
handleHeaderData
in class SpdyStreamSourceChannel
protected void complete() throws IOException
AbstractFramedStreamSourceChannel
complete
in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>
IOException
public HeaderMap getHeaders()
public org.xnio.ChannelListener<SpdyStreamStreamSourceChannel> getCompletionListener()
public void setCompletionListener(org.xnio.ChannelListener<SpdyStreamStreamSourceChannel> completionListener)
protected void channelForciblyClosed()
public int getStreamId()
Copyright © 2015 JBoss by Red Hat. All rights reserved.