public class AjpClientResponseConduit
extends org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
Constructor and Description |
---|
AjpClientResponseConduit(org.xnio.conduits.StreamSourceConduit delegate,
io.undertow.client.ajp.AjpClientConnection connection,
io.undertow.client.ajp.AjpClientRequestConduit ajpClientRequestConduit,
ConduitListener<? super AjpClientResponseConduit> finishListener) |
Modifier and Type | Method and Description |
---|---|
void |
awaitReadable() |
void |
awaitReadable(long time,
TimeUnit timeUnit) |
int |
read(ByteBuffer dst) |
long |
read(ByteBuffer[] dsts,
int offset,
int length) |
long |
transferTo(long count,
ByteBuffer throughBuffer,
org.xnio.channels.StreamSinkChannel target) |
long |
transferTo(long position,
long count,
FileChannel target) |
getReadThread, isReadResumed, isReadShutdown, resumeReads, setReadReadyHandler, suspendReads, terminateReads, wakeupReads
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AjpClientResponseConduit(org.xnio.conduits.StreamSourceConduit delegate, io.undertow.client.ajp.AjpClientConnection connection, io.undertow.client.ajp.AjpClientRequestConduit ajpClientRequestConduit, ConduitListener<? super AjpClientResponseConduit> finishListener)
public long transferTo(long position, long count, FileChannel target) throws IOException
transferTo
in interface org.xnio.conduits.StreamSourceConduit
transferTo
in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
IOException
public long transferTo(long count, ByteBuffer throughBuffer, org.xnio.channels.StreamSinkChannel target) throws IOException
transferTo
in interface org.xnio.conduits.StreamSourceConduit
transferTo
in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
IOException
public long read(ByteBuffer[] dsts, int offset, int length) throws IOException
read
in interface org.xnio.conduits.StreamSourceConduit
read
in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
IOException
public int read(ByteBuffer dst) throws IOException
read
in interface org.xnio.conduits.StreamSourceConduit
read
in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
IOException
public void awaitReadable() throws IOException
awaitReadable
in interface org.xnio.conduits.SourceConduit
awaitReadable
in class org.xnio.conduits.AbstractSourceConduit<org.xnio.conduits.StreamSourceConduit>
IOException
public void awaitReadable(long time, TimeUnit timeUnit) throws IOException
awaitReadable
in interface org.xnio.conduits.SourceConduit
awaitReadable
in class org.xnio.conduits.AbstractSourceConduit<org.xnio.conduits.StreamSourceConduit>
IOException
Copyright © 2013 JBoss by Red Hat. All rights reserved.