Class ConnectionMetaData.Wrapper

java.lang.Object
org.eclipse.jetty.util.Attributes.Wrapper
org.eclipse.jetty.server.ConnectionMetaData.Wrapper
All Implemented Interfaces:
ConnectionMetaData, org.eclipse.jetty.util.Attributes
Enclosing interface:
ConnectionMetaData

public static class ConnectionMetaData.Wrapper extends org.eclipse.jetty.util.Attributes.Wrapper implements ConnectionMetaData
  • Constructor Details

  • Method Details

    • getWrapped

      public ConnectionMetaData getWrapped()
      Overrides:
      getWrapped in class org.eclipse.jetty.util.Attributes.Wrapper
    • getId

      public String getId()
      Specified by:
      getId in interface ConnectionMetaData
      Returns:
      a unique (within the lifetime of the JVM) identifier string for the network connection to the JVM
    • getHttpConfiguration

      public HttpConfiguration getHttpConfiguration()
      Specified by:
      getHttpConfiguration in interface ConnectionMetaData
    • getHttpVersion

      public org.eclipse.jetty.http.HttpVersion getHttpVersion()
      Specified by:
      getHttpVersion in interface ConnectionMetaData
    • getProtocol

      public String getProtocol()
      Specified by:
      getProtocol in interface ConnectionMetaData
    • getConnection

      public org.eclipse.jetty.io.Connection getConnection()
      Specified by:
      getConnection in interface ConnectionMetaData
    • getConnector

      public Connector getConnector()
      Specified by:
      getConnector in interface ConnectionMetaData
    • isPersistent

      public boolean isPersistent()
      Specified by:
      isPersistent in interface ConnectionMetaData
    • isSecure

      public boolean isSecure()
      Specified by:
      isSecure in interface ConnectionMetaData
    • isPushSupported

      public boolean isPushSupported()
      Specified by:
      isPushSupported in interface ConnectionMetaData
      Returns:
      whether the functionality of pushing resources is supported
    • getRemoteSocketAddress

      public SocketAddress getRemoteSocketAddress()
      Specified by:
      getRemoteSocketAddress in interface ConnectionMetaData
      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

      public SocketAddress getLocalSocketAddress()
      Specified by:
      getLocalSocketAddress in interface ConnectionMetaData
      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

      public org.eclipse.jetty.util.HostPort getServerAuthority()
      Specified by:
      getServerAuthority in interface ConnectionMetaData
      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 wrapped to represent a virtual address.