public final class AjpServerConnection extends AbstractServerConnection implements ServerConnection
AbstractServerConnection.ConduitState
ServerConnection.CloseListener
bufferPool, 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, supportsOption
addToAttachmentList, getAttachment, getAttachmentList, putAttachment, removeAttachment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCloseListener, close, getBufferPool, getBufferSize, getIoThread, getLocalAddress, getLocalAddress, getOption, getPeerAddress, getPeerAddress, getSinkChannel, getSourceChannel, getUndertowOptions, getWorker, isOpen, setOption, supportsOption
addToAttachmentList, getAttachment, getAttachmentList, putAttachment, removeAttachment
public AjpServerConnection(org.xnio.StreamConnection channel, org.xnio.Pool<ByteBuffer> bufferPool, HttpHandler rootHandler, org.xnio.OptionMap undertowOptions, int bufferSize)
public HttpServerExchange sendOutOfBandResponse(HttpServerExchange exchange)
ServerConnection
sendOutOfBandResponse
in interface ServerConnection
exchange
- The current exchangepublic void restoreChannel(AbstractServerConnection.ConduitState state)
AbstractServerConnection
restoreChannel
in class AbstractServerConnection
state
- The original stateAbstractServerConnection.resetChannel()
public AbstractServerConnection.ConduitState resetChannel()
AbstractServerConnection
AbstractServerConnection.ConduitState
object that
can be used the restore the channel.resetChannel
in class AbstractServerConnection
public SSLSessionInfo getSslSessionInfo()
ServerConnection
getSslSessionInfo
in interface ServerConnection
public void setSslSessionInfo(SSLSessionInfo sessionInfo)
ServerConnection
setSslSessionInfo
in interface ServerConnection
sessionInfo
- The ssl session informationpublic org.xnio.StreamConnection upgradeChannel()
ServerConnection
upgradeChannel
in interface ServerConnection
Copyright © 2013 JBoss by Red Hat. All rights reserved.