@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, getAsyncStateMachine, 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 IOException
flush
in class UpgradeProcessor<NioChannel>
IOException
public void write(int b) throws IOException
write
in class UpgradeProcessor<NioChannel>
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class UpgradeProcessor<NioChannel>
IOException
public int read() throws IOException
UpgradeProcessor
read
in class UpgradeProcessor<NioChannel>
IOException
- If a problem occurs trying to read from the inputpublic int read(boolean block, byte[] bytes, int off, int len) throws IOException
UpgradeProcessor
read
in class UpgradeProcessor<NioChannel>
IOException
- If a problem occurs trying to read from the inputCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.