Package org.wildfly.extension.undertow
Interface UndertowListener
- All Known Implementing Classes:
AjpListenerService,HttpListenerService,HttpsListenerService,ListenerService
public interface UndertowListener
Represents the externally accessible interface provided by Undertow's listeners
- Author:
- Stuart Douglas
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the listener nameReturns the transport protocol.Returns the server this listener is registered with.org.jboss.as.network.SocketBindingReturns the listeners socket binding.booleanisSecure()Returns true if the listener is secure.booleanReturns true if the listener has shut down.
-
Method Details
-
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
-