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.
|
UserInfo |
getUserInfo()
Get the authenticated UserInfo for this connection.
|
org.xnio.Cancellable |
open(String serviceType,
org.xnio.Result<Channel> result,
org.xnio.OptionMap optionMap)
Open a request handler.
|
addCloseHandler, awaitClosed, awaitClosedUninterruptibly, close, closeAsync
org.xnio.Cancellable open(String serviceType, org.xnio.Result<Channel> result, org.xnio.OptionMap optionMap)
serviceType
- the service type stringresult
- the result for the connected channeloptionMap
- the options for this serviceCollection<Principal> getPrincipals()
UserInfo getUserInfo()
String getRemoteEndpointName()
Copyright © 2015 JBoss, a division of Red Hat, Inc.. All rights reserved.