private class LocalConnectionProvider.LoopbackConnectionHandler extends AbstractHandleableCloseable<ConnectionHandler> implements ConnectionHandler
HandleableCloseable.Key| Modifier and Type | Field and Description |
|---|---|
private ConnectionHandlerContext |
context |
| Constructor and Description |
|---|
LoopbackConnectionHandler(ConnectionHandlerContext context) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.security.Principal> |
getPrincipals()
Get the authenticated principals for this connection.
|
java.lang.String |
getRemoteEndpointName()
Get the name of the remote endpoint.
|
javax.net.ssl.SSLSession |
getSslSession()
Get the underlying
SSLSession for this connection if one is established. |
UserInfo |
getUserInfo()
Get the authenticated UserInfo for this connection.
|
org.xnio.Cancellable |
open(java.lang.String serviceType,
org.xnio.Result<Channel> result,
org.xnio.OptionMap optionMap)
Open a request handler.
|
addCloseHandler, awaitClosed, awaitClosedUninterruptibly, checkOpen, close, closeAction, closeAsync, closeComplete, closeFailed, finalize, getExecutor, isOpenclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCloseHandler, awaitClosed, awaitClosedUninterruptibly, close, closeAsyncprivate final ConnectionHandlerContext context
LoopbackConnectionHandler(ConnectionHandlerContext context)
public org.xnio.Cancellable open(java.lang.String serviceType,
org.xnio.Result<Channel> result,
org.xnio.OptionMap optionMap)
ConnectionHandleropen in interface ConnectionHandlerserviceType - the service type stringresult - the result for the connected channeloptionMap - the options for this servicepublic java.util.Collection<java.security.Principal> getPrincipals()
ConnectionHandlergetPrincipals in interface ConnectionHandlerpublic UserInfo getUserInfo()
ConnectionHandlergetUserInfo in interface ConnectionHandlerpublic javax.net.ssl.SSLSession getSslSession()
ConnectionHandlerSSLSession for this connection if one is established.getSslSession in interface ConnectionHandlerSSLSession for the connection if one is established, otherwise returns null.public java.lang.String getRemoteEndpointName()
ConnectionHandlergetRemoteEndpointName in interface ConnectionHandler