@Deprecated public class UpgradeNioProcessor extends UpgradeProcessor<NioChannel>
sm
Constructor and Description |
---|
UpgradeNioProcessor(SocketWrapper<NioChannel> wrapper,
UpgradeInbound upgradeInbound,
NioSelectorPool pool)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
flush()
Deprecated.
|
int |
read()
Deprecated.
This is always a blocking read of a single byte.
|
int |
read(boolean block,
byte[] bytes,
int off,
int len)
Deprecated.
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)
Deprecated.
|
void |
write(int b)
Deprecated.
|
asyncDispatch, asyncPostProcess, errorDispatch, event, getExecutor, getHttpUpgradeHandler, getRequest, getUpgradeInbound, isAsync, isComet, isUpgrade, process, recycle, setSslSupport, upgradeDispatch, upgradeDispatch
public UpgradeNioProcessor(SocketWrapper<NioChannel> wrapper, UpgradeInbound upgradeInbound, NioSelectorPool pool)
public void flush() throws java.io.IOException
flush
in class UpgradeProcessor<NioChannel>
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class UpgradeProcessor<NioChannel>
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class UpgradeProcessor<NioChannel>
java.io.IOException
public int read() throws java.io.IOException
UpgradeProcessor
read
in class UpgradeProcessor<NioChannel>
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<NioChannel>
java.io.IOException
- If a problem occurs trying to read from the inputCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.