- All Superinterfaces:
org.eclipse.jetty.util.Attributes
- All Known Implementing Classes:
AbstractMetaDataConnection,ConnectionMetaData.Wrapper
public interface ConnectionMetaData
extends org.eclipse.jetty.util.Attributes
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
org.eclipse.jetty.util.Attributes.Layer, org.eclipse.jetty.util.Attributes.Lazy, org.eclipse.jetty.util.Attributes.Mapped, org.eclipse.jetty.util.Attributes.Synthetic -
Field Summary
Fields inherited from interface org.eclipse.jetty.util.Attributes
NULL -
Method Summary
Methods inherited from interface org.eclipse.jetty.util.Attributes
asAttributeMap, clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttribute
-
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
org.eclipse.jetty.http.HttpVersion getHttpVersion() -
getProtocol
String getProtocol() -
getConnection
org.eclipse.jetty.io.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 org.eclipse.jetty.util.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:
-