Package org.eclipse.jetty.server
Interface ConnectionMetaData
- All Superinterfaces:
Attributes
- All Known Implementing Classes:
AbstractMetaDataConnection
,ConnectionMetaData.Wrapper
,HTTP2ServerConnection
,HttpConnection
,ServerFCGIConnection
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, 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
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
- 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:
-