public static final class ListenerRegistry.Listener extends Object
Constructor and Description |
---|
Listener(String protocol, String name, String serverName, InetSocketAddress bindAddress) |
Modifier and Type | Method and Description |
---|---|
void | addHttpUpgradeMetadata(ListenerRegistry.HttpUpgradeMetadata upgradeMetadata) |
InetSocketAddress | getBindAddress() The address that this listener is bound to |
Object | getContextInformation(String key) |
Collection<String> | getContextKeys() |
Set<ListenerRegistry.HttpUpgradeMetadata> | getHttpUpgradeMetadata() |
String | getName() The optional listener name; |
String | getProtocol() The protocol that this listener is using |
String | getServerName() The server name |
Object | removeContextInformation(String key) |
void | removeHttpUpgradeMetadata(ListenerRegistry.HttpUpgradeMetadata upgradeMetadata) |
Object | setContextInformation(String key, Object value) |
public Listener(String protocol, String name, String serverName, InetSocketAddress bindAddress)
public String getProtocol()
public String getName()
public String getServerName()
public InetSocketAddress getBindAddress()
public Collection<String> getContextKeys()
public void addHttpUpgradeMetadata(ListenerRegistry.HttpUpgradeMetadata upgradeMetadata)
public void removeHttpUpgradeMetadata(ListenerRegistry.HttpUpgradeMetadata upgradeMetadata)
public Set<ListenerRegistry.HttpUpgradeMetadata> getHttpUpgradeMetadata()
Copyright © 2017 JBoss by Red Hat. All rights reserved.