@ManagedObject(value="The HTTP/1.1 client transport") public class HttpClientTransportOverHTTP extends AbstractConnectorHttpClientTransport
AbstractLifeCycle.AbstractLifeCycleListenerClientConnectionFactory.DecoratorContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGHTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEYCONNECTOR_CONTEXT_KEY| Constructor and Description |
|---|
HttpClientTransportOverHTTP() |
HttpClientTransportOverHTTP(int selectors) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeaderCacheSize() |
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
HttpDestination |
newHttpDestination(Origin origin)
Creates a new, transport-specific,
HttpDestination object. |
void |
setHeaderCacheSize(int headerCacheSize) |
connect, getSelectorsgetConnectionPoolFactory, setConnectionPoolFactory, setHttpClientaddBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcustomizedumpContainer, dumpIterable, dumpMapEntries, dumpObjects, dumpSelf, namedpublic HttpClientTransportOverHTTP()
public HttpClientTransportOverHTTP(int selectors)
public HttpDestination newHttpDestination(Origin origin)
HttpClientTransportHttpDestination object.
HttpDestination controls the destination-connection cardinality: protocols like
HTTP have 1-N cardinality, while multiplexed protocols like HTTP/2 have a 1-1 cardinality.
origin - the destination originHttpDestination objectpublic Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
endPoint - the EndPoint to link the newly created connection tocontext - the context data to create the connectionConnectionIOException - if the connection cannot be created@ManagedAttribute(value="The maximum allowed size in bytes for an HTTP header field cache") public int getHeaderCacheSize()
public void setHeaderCacheSize(int headerCacheSize)
Copyright © 2010 - 2020 Adobe. All Rights Reserved