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 Type
    Method
    Description
    Returns the listener name
    Returns the transport protocol.
    Returns the server this listener is registered with.
    org.jboss.as.network.SocketBinding
    Returns the listeners socket binding.
    boolean
    Returns true if the listener is secure.
    boolean
    Returns 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:
      true if 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:
      true if the listener has been shutdown