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, lastFrameaddCloseTask, 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, wakeupReadspublic int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelread in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>IOExceptionpublic long read(ByteBuffer[] dsts, int offset, int length) throws IOException
read in interface ScatteringByteChannelread in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>IOExceptionpublic long read(ByteBuffer[] dsts) throws IOException
read in interface ScatteringByteChannelread in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>IOExceptionpublic long transferTo(long count,
ByteBuffer throughBuffer,
org.xnio.channels.StreamSinkChannel streamSinkChannel)
throws IOException transferTo in interface org.xnio.channels.StreamSourceChanneltransferTo in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>IOExceptionpublic long transferTo(long position,
long count,
FileChannel target)
throws IOException transferTo in interface org.xnio.channels.StreamSourceChanneltransferTo in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>IOExceptionprotected void handleHeaderData(FrameHeaderData headerData)
handleHeaderData in class SpdyStreamSourceChannelprotected void complete()
throws IOException AbstractFramedStreamSourceChannelcomplete in class AbstractFramedStreamSourceChannel<SpdyChannel,SpdyStreamSourceChannel,SpdyStreamSinkChannel>IOExceptionpublic 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.