public final class AjpServerConnection extends AbstractServerConnection implements ServerConnection
AbstractServerConnection.ConduitStateServerConnection.CloseListenerbufferPool, channel, closeListeners, closeSetter, 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 |
|---|---|
SSLSessionInfo |
getSslSessionInfo()
Gets SSL information about the connection.
|
AbstractServerConnection.ConduitState |
resetChannel()
Resets the channel to its original state, effectively disabling all current conduit
wrappers.
|
void |
restoreChannel(AbstractServerConnection.ConduitState state)
Resores 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.
|
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, sink, source, supportsOptionaddToAttachmentList, getAttachment, getAttachmentList, putAttachment, removeAttachmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCloseListener, close, getBufferPool, getBufferSize, getIoThread, getLocalAddress, getLocalAddress, getOption, getPeerAddress, getPeerAddress, getSinkChannel, getSourceChannel, getUndertowOptions, getWorker, isOpen, setOption, 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 interface 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 SSLSessionInfo getSslSessionInfo()
ServerConnectiongetSslSessionInfo in interface ServerConnectionpublic void setSslSessionInfo(SSLSessionInfo sessionInfo)
ServerConnectionsetSslSessionInfo in interface ServerConnectionsessionInfo - The ssl session informationpublic org.xnio.StreamConnection upgradeChannel()
ServerConnectionupgradeChannel in interface ServerConnectionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.