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, upgradeDispatch
public UpgradeBioProcessor(SocketWrapper<java.net.Socket> wrapper, UpgradeInbound upgradeInbound) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
flush
in class UpgradeProcessor<java.net.Socket>
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class UpgradeProcessor<java.net.Socket>
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class UpgradeProcessor<java.net.Socket>
java.io.IOException
public int read() throws java.io.IOException
UpgradeProcessor
read
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
UpgradeProcessor
read
in class UpgradeProcessor<java.net.Socket>
java.io.IOException
- If a problem occurs trying to read from the inputCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.