|
Apache Tomcat 7.0.54 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.coyote.http11.upgrade.UpgradeProcessor<S>
@Deprecated public abstract class UpgradeProcessor<S>
Field Summary | |
---|---|
protected static StringManager |
sm
Deprecated. |
Constructor Summary | |
---|---|
protected |
UpgradeProcessor(UpgradeInbound upgradeInbound)
Deprecated. |
Method Summary | |
---|---|
AbstractEndpoint.Handler.SocketState |
asyncDispatch(SocketStatus status)
Deprecated. |
AbstractEndpoint.Handler.SocketState |
asyncPostProcess()
Deprecated. |
AbstractEndpoint.Handler.SocketState |
event(SocketStatus status)
Deprecated. |
abstract void |
flush()
Deprecated. |
Executor |
getExecutor()
Deprecated. |
HttpUpgradeHandler |
getHttpUpgradeHandler()
Deprecated. |
Request |
getRequest()
Deprecated. |
UpgradeInbound |
getUpgradeInbound()
Deprecated. |
boolean |
isAsync()
Deprecated. |
boolean |
isComet()
Deprecated. |
boolean |
isUpgrade()
Deprecated. |
AbstractEndpoint.Handler.SocketState |
process(SocketWrapper<S> socketWrapper)
Deprecated. |
abstract int |
read()
Deprecated. This is always a blocking read of a single byte. |
abstract 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 |
recycle(boolean socketClosing)
Deprecated. |
void |
setSslSupport(SSLSupport sslSupport)
Deprecated. |
AbstractEndpoint.Handler.SocketState |
upgradeDispatch()
Deprecated. |
AbstractEndpoint.Handler.SocketState |
upgradeDispatch(SocketStatus status)
Deprecated. |
abstract void |
write(byte[] b,
int off,
int len)
Deprecated. |
abstract void |
write(int b)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final StringManager sm
Constructor Detail |
---|
protected UpgradeProcessor(UpgradeInbound upgradeInbound)
Method Detail |
---|
public abstract void flush() throws IOException
IOException
public abstract void write(int b) throws IOException
IOException
public abstract void write(byte[] b, int off, int len) throws IOException
IOException
public abstract int read() throws IOException
IOException
- If a problem occurs trying to read from the inputpublic abstract int read(boolean block, byte[] bytes, int off, int len) throws IOException
block
- bytes
- off
- len
-
IOException
- If a problem occurs trying to read from the inputpublic final UpgradeInbound getUpgradeInbound()
getUpgradeInbound
in interface Processor<S>
public final AbstractEndpoint.Handler.SocketState upgradeDispatch() throws IOException
upgradeDispatch
in interface Processor<S>
IOException
public final void recycle(boolean socketClosing)
recycle
in interface Processor<S>
public HttpUpgradeHandler getHttpUpgradeHandler()
getHttpUpgradeHandler
in interface Processor<S>
public AbstractEndpoint.Handler.SocketState upgradeDispatch(SocketStatus status) throws IOException
upgradeDispatch
in interface Processor<S>
IOException
public boolean isUpgrade()
isUpgrade
in interface Processor<S>
public final Executor getExecutor()
getExecutor
in interface Processor<S>
public final AbstractEndpoint.Handler.SocketState process(SocketWrapper<S> socketWrapper) throws IOException
process
in interface Processor<S>
IOException
public final AbstractEndpoint.Handler.SocketState event(SocketStatus status) throws IOException
event
in interface Processor<S>
IOException
public final AbstractEndpoint.Handler.SocketState asyncDispatch(SocketStatus status)
asyncDispatch
in interface Processor<S>
public final AbstractEndpoint.Handler.SocketState asyncPostProcess()
asyncPostProcess
in interface Processor<S>
public final boolean isComet()
isComet
in interface Processor<S>
public final boolean isAsync()
isAsync
in interface Processor<S>
public final Request getRequest()
getRequest
in interface Processor<S>
public final void setSslSupport(SSLSupport sslSupport)
setSslSupport
in interface Processor<S>
|
Apache Tomcat 7.0.54 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |