public class UpgradeBioProcessor extends UpgradeProcessor<java.net.Socket>
sm| Constructor and Description |
|---|
UpgradeBioProcessor(SocketWrapper<java.net.Socket> wrapper,
UpgradeInbound upgradeInbound) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
int |
read()
This is always a blocking read of a single byte.
|
int |
read(boolean block,
byte[] bytes,
int off,
int len)
Read up to len bytes from the input in either blocking or non-blocking
mode (where non-blocking is supported).
|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
asyncDispatch, asyncPostProcess, event, getExecutor, getRequest, getUpgradeInbound, isAsync, isComet, isUpgrade, process, recycle, setSslSupport, upgradeDispatchpublic UpgradeBioProcessor(SocketWrapper<java.net.Socket> wrapper, UpgradeInbound upgradeInbound) throws java.io.IOException
java.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in class UpgradeProcessor<java.net.Socket>java.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class UpgradeProcessor<java.net.Socket>java.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class UpgradeProcessor<java.net.Socket>java.io.IOExceptionpublic int read()
throws java.io.IOException
UpgradeProcessorread in class UpgradeProcessor<java.net.Socket>java.io.IOException - If a problem occurs trying to read from the inputpublic int read(boolean block,
byte[] bytes,
int off,
int len)
throws java.io.IOException
UpgradeProcessorread in class UpgradeProcessor<java.net.Socket>java.io.IOException - If a problem occurs trying to read from the inputCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.