Interface ConnectionMetaData

All Superinterfaces:
Attributes
All Known Implementing Classes:
AbstractMetaDataConnection, ConnectionMetaData.Wrapper, HTTP2ServerConnection, HttpConnection, ServerFCGIConnection

public interface ConnectionMetaData extends Attributes
  • Method Details

    • getId

      String getId()
      Returns:
      a unique (within the lifetime of the JVM) identifier string for the network connection to the JVM
    • getHttpConfiguration

      HttpConfiguration getHttpConfiguration()
    • getHttpVersion

      HttpVersion getHttpVersion()
    • getProtocol

      String getProtocol()
    • getConnection

      Connection getConnection()
    • getConnector

      Connector getConnector()
    • isPersistent

      boolean isPersistent()
    • isSecure

      default boolean isSecure()
    • isPushSupported

      default boolean isPushSupported()
      Returns:
      whether the functionality of pushing resources is supported
    • getRemoteSocketAddress

      SocketAddress getRemoteSocketAddress()
      Returns:
      The address of the remote end of this connection. By default, this is the first hop of the underlying network connection, but it may be wrapped to represent a more remote end point.
    • getLocalSocketAddress

      SocketAddress getLocalSocketAddress()
      Returns:
      The address of the local end of this connection. By default, this is the address of the underlying network connection, but it may be wrapped if the deployment wishes to hide all local details.
    • getServerAuthority

      default HostPort getServerAuthority()
      Returns:
      The URI authority that this server represents. By default, this is the address of the network socket on which the connection was accepted, but it may be configured to a specific address.
      See Also: