
public interface ConnectionHandler extends HandleableCloseable<ConnectionHandler>
HandleableCloseable.Key| 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.
|
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, close, closeAsyncorg.xnio.Cancellable open(java.lang.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 servicejava.util.Collection<java.security.Principal> getPrincipals()
UserInfo getUserInfo()
java.lang.String getRemoteEndpointName()
Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.