Top Description Fields Constructors Methods
org.eclipse.jetty.server

public abstract Class AbstractMetaDataConnection

extends AbstractConnection
implements ConnectionMetaData
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.server.ConnectionMetaData, org.eclipse.jetty.util.Attributes
Known Direct Subclasses
org.eclipse.jetty.server.internal.HttpConnection
Imports
java.net.SocketAddress, org.eclipse.jetty.io.AbstractConnection, .Connection, .EndPoint

An AbstractConnection that also implements ConnectionMetaData with fixed local and remote addresses.

Field Summary

Modifier and TypeField and Description
private final Connector
private final HttpConfiguration
private final SocketAddress
private final SocketAddress

Constructor Summary

AccessConstructor and Description
public
AbstractMetaDataConnection(Connector connector, HttpConfiguration httpConfiguration, EndPoint endPoint)

Method Summary

Modifier and TypeMethod and Description
public Connection
public Connector
public HttpConfiguration
public SocketAddress
public SocketAddress
Inherited from org.eclipse.jetty.io.AbstractConnection:
addEventListenerclosefailedCallbackfillInterestedgetBytesIngetBytesOutgetCreatedTimeStampgetEndPointgetExecutorgetInputBufferSizegetInvocationTypegetMessagesIngetMessagesOutisFillInterestedonCloseonFillableonFillInterestedFailedonIdleExpiredonOpenonReadTimeoutremoveEventListenersetInputBufferSizetoConnectionStringtoStringtryFillInterested

Field Detail

_connectorback to summary
private final Connector _connector
_httpConfigurationback to summary
private final HttpConfiguration _httpConfiguration
_localSocketAddressback to summary
private final SocketAddress _localSocketAddress
_remoteSocketAddressback to summary
private final SocketAddress _remoteSocketAddress

Constructor Detail

AbstractMetaDataConnectionback to summary
public AbstractMetaDataConnection(Connector connector, HttpConfiguration httpConfiguration, EndPoint endPoint)

Method Detail

getConnectionback to summary
public Connection getConnection()

Implements org.eclipse.jetty.server.ConnectionMetaData.getConnection.

Annotations
@Override
getConnectorback to summary
public Connector getConnector()

Implements org.eclipse.jetty.server.ConnectionMetaData.getConnector.

Annotations
@Override
getHttpConfigurationback to summary
public HttpConfiguration getHttpConfiguration()

Implements org.eclipse.jetty.server.ConnectionMetaData.getHttpConfiguration.

Annotations
@Override
getLocalSocketAddressback to summary
public SocketAddress getLocalSocketAddress()

Implements org.eclipse.jetty.server.ConnectionMetaData.getLocalSocketAddress.

Returns:SocketAddress

Doc from org.eclipse.jetty.server.ConnectionMetaData.getLocalSocketAddress.

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.

Annotations
@Override
getRemoteSocketAddressback to summary
public SocketAddress getRemoteSocketAddress()

Implements org.eclipse.jetty.server.ConnectionMetaData.getRemoteSocketAddress.

Returns:SocketAddress

Doc from org.eclipse.jetty.server.ConnectionMetaData.getRemoteSocketAddress.

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.

Annotations
@Override