public interface ConnectionHandler extends HandleableCloseable<ConnectionHandler>
HandleableCloseable.Key
Modifier and Type | Method and Description |
---|---|
Collection<Principal> |
getPrincipals()
Get the authenticated principals for this connection.
|
String |
getRemoteEndpointName()
Get the name of the remote endpoint.
|
SSLSession |
getSslSession()
Get the underlying
SSLSession for this connection if one is established. |
UserInfo |
getUserInfo()
Get the authenticated UserInfo for this connection.
|
Cancellable |
open(String serviceType,
Result<Channel> result,
OptionMap optionMap)
Open a request handler.
|
addCloseHandler, awaitClosed, awaitClosedUninterruptibly, close, closeAsync
Cancellable open(String serviceType, Result<Channel> result, OptionMap optionMap)
serviceType
- the service type stringresult
- the result for the connected channeloptionMap
- the options for this serviceCollection<Principal> getPrincipals()
UserInfo getUserInfo()
SSLSession getSslSession()
SSLSession
for this connection if one is established.SSLSession
for the connection if one is established, otherwise returns null
.String getRemoteEndpointName()
Copyright © 2016 JBoss by Red Hat. All rights reserved.