Package org.wildfly.extension.undertow
Interface UndertowListener
-
- All Known Implementing Classes:
AjpListenerService,HttpListenerService,HttpsListenerService,ListenerService
public interface UndertowListenerRepresents the externally accessible interface provided by Undertow's listeners- Author:
- Stuart Douglas
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Returns the listener nameStringgetProtocol()Returns the transport protocol.ServergetServer()Returns the server this listener is registered with.org.jboss.as.network.SocketBindinggetSocketBinding()Returns the listeners socket binding.booleanisSecure()Returns true if the listener is secure.booleanisShutdown()Returns true if the listener has shut down.
-
-
-
Method Detail
-
getSocketBinding
org.jboss.as.network.SocketBinding getSocketBinding()
Returns the listeners socket binding.- Returns:
- The listeners socket binding
-
isSecure
boolean isSecure()
Returns true if the listener is secure. In general this will be true for HTTPS listeners, however other listener types may have been explicitly marked as secure.- Returns:
trueif the listener is considered security
-
getProtocol
String getProtocol()
Returns the transport protocol. This will generally either be http, https or ajp.- Returns:
- The transport protocol
-
getName
String getName()
Returns the listener name- Returns:
- The listener name
-
getServer
Server getServer()
Returns the server this listener is registered with.- Returns:
- the server this listener is registered with
-
isShutdown
boolean isShutdown()
Returns true if the listener has shut down.- Returns:
trueif the listener has been shutdown
-
-