public final class AjpServerConnection extends AbstractServerConnection
AbstractServerConnection.ConduitStateServerConnection.CloseListenerbufferPool, channel, closeListeners, closeSetter, current, extraBytes, originalSinkConduit, originalSourceConduit, rootHandler, undertowOptions| Constructor and Description |
|---|
AjpServerConnection(org.xnio.StreamConnection channel,
org.xnio.Pool<ByteBuffer> bufferPool,
HttpHandler rootHandler,
org.xnio.OptionMap undertowOptions,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearChannel()
Resets the channel to its original state, effectively disabling all current conduit
wrappers.
|
protected void |
exchangeComplete(HttpServerExchange exchange)
Invoked when the exchange is complete.
|
protected org.xnio.conduits.StreamSinkConduit |
getSinkConduit(HttpServerExchange exchange,
org.xnio.conduits.StreamSinkConduit conduit)
Gets the sink conduit that should be used for this request.
|
SSLSessionInfo |
getSslSessionInfo()
Gets SSL information about the connection.
|
protected boolean |
isUpgradeSupported() |
AbstractServerConnection.ConduitState |
resetChannel()
Resets the channel to its original state, effectively disabling all current conduit
wrappers.
|
void |
restoreChannel(AbstractServerConnection.ConduitState state)
Restores the channel conduits to a previous state.
|
HttpServerExchange |
sendOutOfBandResponse(HttpServerExchange exchange)
Sends an out of band response, such as a HTTP 100-continue response.
|
void |
setSslSessionInfo(SSLSessionInfo sessionInfo)
Sets the current SSL information.
|
protected org.xnio.StreamConnection |
upgradeChannel()
Upgrade the connection, if allowed
|
addCloseListener, close, getBufferPool, getBufferSize, getChannel, getCloseSetter, getExtraBytes, getIoThread, getLocalAddress, getLocalAddress, getOption, getOriginalSinkConduit, getOriginalSourceConduit, getPeerAddress, getPeerAddress, getRootHandler, getSinkChannel, getSourceChannel, getUndertowOptions, getWorker, isOpen, setExtraBytes, setOption, setUpgradeListener, sink, source, supportsOptionaddToAttachmentList, getAttachment, getAttachmentList, putAttachment, removeAttachmentpublic AjpServerConnection(org.xnio.StreamConnection channel,
org.xnio.Pool<ByteBuffer> bufferPool,
HttpHandler rootHandler,
org.xnio.OptionMap undertowOptions,
int bufferSize)
public HttpServerExchange sendOutOfBandResponse(HttpServerExchange exchange)
ServerConnectionsendOutOfBandResponse in class ServerConnectionexchange - The current exchangepublic void restoreChannel(AbstractServerConnection.ConduitState state)
AbstractServerConnectionrestoreChannel in class AbstractServerConnectionstate - The original stateAbstractServerConnection.resetChannel()public AbstractServerConnection.ConduitState resetChannel()
AbstractServerConnectionAbstractServerConnection.ConduitState object that
can be used the restore the channel.resetChannel in class AbstractServerConnectionpublic void clearChannel()
AbstractServerConnectionclearChannel in class AbstractServerConnectionpublic SSLSessionInfo getSslSessionInfo()
ServerConnectiongetSslSessionInfo in class ServerConnectionpublic void setSslSessionInfo(SSLSessionInfo sessionInfo)
ServerConnectionsetSslSessionInfo in class ServerConnectionsessionInfo - The ssl session informationprotected org.xnio.StreamConnection upgradeChannel()
ServerConnectionupgradeChannel in class ServerConnectionprotected org.xnio.conduits.StreamSinkConduit getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit)
ServerConnectiongetSinkConduit in class ServerConnectionprotected boolean isUpgradeSupported()
isUpgradeSupported in class ServerConnectionprotected void exchangeComplete(HttpServerExchange exchange)
ServerConnectionexchangeComplete in class ServerConnectionCopyright © 2014 JBoss by Red Hat. All rights reserved.