Top Fields Constructors Methods
org.eclipse.jetty.client

public abstract Class AbstractConnectorHttpClientTransport

extends AbstractHttpClientTransport
Class Inheritance
Known Direct Subclasses
org.eclipse.jetty.client.transport.HttpClientTransportDynamic, org.eclipse.jetty.client.transport.HttpClientTransportOverHTTP
Annotations
@ManagedObject
Imports
java.net.InetSocketAddress, .SocketAddress, java.time.Duration, java.util.Map, .Objects, org.eclipse.jetty.client.transport.HttpDestination, org.eclipse.jetty.io.ClientConnector, org.eclipse.jetty.util.Promise, org.eclipse.jetty.util.annotation.ManagedAttribute, .ManagedObject

Field Summary

Modifier and TypeField and Description
private final ClientConnector

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
connect(SocketAddress
the address to connect to
address
,
Map<String, Object>
the context information to establish the connection
context
)

Overrides default org.eclipse.jetty.client.HttpClientTransport.connect.

Establishes a physical connection to the given address.
public void
connect(InetSocketAddress
the address to connect to
address
,
Map<String, Object>
the context information to establish the connection
context
)

Implements org.eclipse.jetty.client.HttpClientTransport.connect.

Establishes a physical connection to the given address.
protected void
doStart()

Overrides org.eclipse.jetty.util.component.ContainerLifeCycle.doStart.

Starts the managed lifecycle beans in the order they were added.
public ClientConnector
public int
Inherited from org.eclipse.jetty.client.AbstractHttpClientTransport:
connectFailedgetConnectionPoolFactorygetHttpClientsetConnectionPoolFactorysetHttpClient

Field Detail

connectorback to summary
private final ClientConnector connector

Constructor Detail

AbstractConnectorHttpClientTransportback to summary
protected AbstractConnectorHttpClientTransport(ClientConnector connector)

Method Detail

connectback to summary
public void connect(SocketAddress address, Map<String, Object> context)

Overrides default org.eclipse.jetty.client.HttpClientTransport.connect.

Doc from org.eclipse.jetty.client.HttpClientTransport.connect.

Establishes a physical connection to the given address.

Parameters
address:SocketAddress

the address to connect to

context:Map<String, Object>

the context information to establish the connection

Annotations
@Override
connectback to summary
public void connect(InetSocketAddress address, Map<String, Object> context)

Implements org.eclipse.jetty.client.HttpClientTransport.connect.

Doc from org.eclipse.jetty.client.HttpClientTransport.connect.

Establishes a physical connection to the given address.

Parameters
address:InetSocketAddress

the address to connect to

context:Map<String, Object>

the context information to establish the connection

Annotations
@Override
doStartback to summary
protected void doStart() throws Exception

Overrides org.eclipse.jetty.util.component.ContainerLifeCycle.doStart.

Doc from org.eclipse.jetty.util.component.ContainerLifeCycle.doStart.

Starts the managed lifecycle beans in the order they were added.

Annotations
@Override
Exceptions
Exception:

Doc from org.eclipse.jetty.util.component.AbstractLifeCycle.doStart.

If there was a problem starting. Will cause a transition to FAILED state

getClientConnectorback to summary
public ClientConnector getClientConnector()
getSelectorsback to summary
public int getSelectors()
Annotations
@ManagedAttribute:The number of selectors
readonly:true