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) |
Executor |
getExecutor() |
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) |
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()
UpgradeToken getUpgradeToken()
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)
ByteBuffer getLeftoverInput()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.