public class AjpServerRequestConduit
extends org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
| Constructor | Description |
|---|---|
AjpServerRequestConduit(org.xnio.conduits.StreamSourceConduit delegate,
HttpServerExchange exchange,
io.undertow.server.protocol.ajp.AjpServerResponseConduit ajpResponseConduit,
Long size,
ConduitListener<? super AjpServerRequestConduit> finishListener) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
awaitReadable() |
|
void |
awaitReadable(long time,
TimeUnit timeUnit) |
|
int |
read(ByteBuffer dst) |
|
long |
read(ByteBuffer[] dsts,
int offset,
int length) |
|
void |
terminateReads() |
|
long |
transferTo(long position,
long count,
FileChannel target) |
|
long |
transferTo(long count,
ByteBuffer throughBuffer,
org.xnio.channels.StreamSinkChannel target) |
getReadThread, isReadResumed, isReadShutdown, resumeReads, setReadReadyHandler, suspendReads, wakeupReadspublic AjpServerRequestConduit(org.xnio.conduits.StreamSourceConduit delegate,
HttpServerExchange exchange,
io.undertow.server.protocol.ajp.AjpServerResponseConduit ajpResponseConduit,
Long size,
ConduitListener<? super AjpServerRequestConduit> finishListener)
public long transferTo(long position,
long count,
FileChannel target)
throws IOException
transferTo in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic long transferTo(long count,
ByteBuffer throughBuffer,
org.xnio.channels.StreamSinkChannel target)
throws IOException
transferTo in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic void terminateReads()
throws IOException
terminateReads in class org.xnio.conduits.AbstractSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic long read(ByteBuffer[] dsts, int offset, int length) throws IOException
read in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic int read(ByteBuffer dst) throws IOException
read in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic void awaitReadable()
throws IOException
awaitReadable in class org.xnio.conduits.AbstractSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic void awaitReadable(long time,
TimeUnit timeUnit)
throws IOException
awaitReadable in class org.xnio.conduits.AbstractSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionCopyright © 2018. All rights reserved.