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) |
java.util.concurrent.Executor |
getExecutor() |
java.nio.ByteBuffer |
getLeftoverInput()
Allows retrieving additional input during the upgrade process
|
Request |
getRequest() |
UpgradeToken |
getUpgradeToken() |
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(SocketStatus status) |
java.util.concurrent.Executor getExecutor()
AbstractEndpoint.Handler.SocketState process(SocketWrapper<S> socketWrapper) throws java.io.IOException
java.io.IOException
AbstractEndpoint.Handler.SocketState event(SocketStatus status) throws java.io.IOException
java.io.IOException
AbstractEndpoint.Handler.SocketState asyncDispatch(SocketStatus status)
AbstractEndpoint.Handler.SocketState asyncPostProcess()
UpgradeToken getUpgradeToken()
AbstractEndpoint.Handler.SocketState upgradeDispatch(SocketStatus status) throws java.io.IOException
java.io.IOException
void errorDispatch()
boolean isComet()
boolean isAsync()
boolean isUpgrade()
Request getRequest()
void recycle(boolean socketClosing)
void setSslSupport(SSLSupport sslSupport)
java.nio.ByteBuffer getLeftoverInput()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.