Package org.eclipse.jetty.server
Class ConnectionMetaData.Wrapper
java.lang.Object
org.eclipse.jetty.util.Attributes.Wrapper
org.eclipse.jetty.server.ConnectionMetaData.Wrapper
- All Implemented Interfaces:
ConnectionMetaData
,Attributes
- Enclosing interface:
- ConnectionMetaData
public static class ConnectionMetaData.Wrapper
extends Attributes.Wrapper
implements ConnectionMetaData
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.Synthetic, Attributes.Wrapper
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionMetaData
ConnectionMetaData.Wrapper
-
Field Summary
Fields inherited from interface org.eclipse.jetty.util.Attributes
NULL
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.util.Attributes.Wrapper
clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttribute
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.Attributes
asAttributeMap, clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttribute
-
Constructor Details
-
Wrapper
-
-
Method Details
-
getWrapped
- Overrides:
getWrapped
in classAttributes.Wrapper
-
getId
- Specified by:
getId
in interfaceConnectionMetaData
- Returns:
- a unique (within the lifetime of the JVM) identifier string for the network connection to the JVM
-
getHttpConfiguration
- Specified by:
getHttpConfiguration
in interfaceConnectionMetaData
-
getHttpVersion
- Specified by:
getHttpVersion
in interfaceConnectionMetaData
-
getProtocol
- Specified by:
getProtocol
in interfaceConnectionMetaData
-
getConnection
- Specified by:
getConnection
in interfaceConnectionMetaData
-
getConnector
- Specified by:
getConnector
in interfaceConnectionMetaData
-
isPersistent
public boolean isPersistent()- Specified by:
isPersistent
in interfaceConnectionMetaData
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfaceConnectionMetaData
-
isPushSupported
public boolean isPushSupported()- Specified by:
isPushSupported
in interfaceConnectionMetaData
- Returns:
- whether the functionality of pushing resources is supported
-
getRemoteSocketAddress
- Specified by:
getRemoteSocketAddress
in interfaceConnectionMetaData
- 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
- Specified by:
getLocalSocketAddress
in interfaceConnectionMetaData
- 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
- Specified by:
getServerAuthority
in interfaceConnectionMetaData
- 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:
-