public interface Processor<S>
Modifier and Type | Method and Description |
---|---|
AbstractEndpoint.Handler.SocketState |
asyncDispatch(SocketStatus status) |
AbstractEndpoint.Handler.SocketState |
asyncPostProcess() |
void |
errorDispatch() |
AbstractEndpoint.Handler.SocketState |
event(SocketStatus status) |
AsyncStateMachine<S> |
getAsyncStateMachine() |
Executor |
getExecutor() |
HttpUpgradeHandler |
getHttpUpgradeHandler() |
Request |
getRequest() |
UpgradeInbound |
getUpgradeInbound()
Deprecated.
Will be removed in Tomcat 8.0.x.
|
boolean |
isAsync() |
boolean |
isComet() |
boolean |
isUpgrade() |
AbstractEndpoint.Handler.SocketState |
process(SocketWrapper<S> socketWrapper) |
void |
recycle(boolean socketClosing) |
void |
setSslSupport(SSLSupport sslSupport) |
AbstractEndpoint.Handler.SocketState |
upgradeDispatch()
Deprecated.
Will be removed in Tomcat 8.0.x.
|
AbstractEndpoint.Handler.SocketState |
upgradeDispatch(SocketStatus status) |
Executor getExecutor()
AbstractEndpoint.Handler.SocketState process(SocketWrapper<S> socketWrapper) throws IOException
IOException
AbstractEndpoint.Handler.SocketState event(SocketStatus status) throws IOException
IOException
AbstractEndpoint.Handler.SocketState asyncDispatch(SocketStatus status)
AbstractEndpoint.Handler.SocketState asyncPostProcess()
@Deprecated UpgradeInbound getUpgradeInbound()
@Deprecated AbstractEndpoint.Handler.SocketState upgradeDispatch() throws IOException
IOException
- An IO error occurredHttpUpgradeHandler getHttpUpgradeHandler()
AbstractEndpoint.Handler.SocketState upgradeDispatch(SocketStatus status) throws IOException
IOException
void errorDispatch()
boolean isComet()
boolean isAsync()
boolean isUpgrade()
Request getRequest()
void recycle(boolean socketClosing)
void setSslSupport(SSLSupport sslSupport)
AsyncStateMachine<S> getAsyncStateMachine()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.