@ManagedObject(value="The FastCGI/1.0 client transport") public class HttpClientTransportOverFCGI extends AbstractConnectorHttpClientTransport
AbstractConnectorHttpClientTransport.ClientSelectorManagerAbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerLOGFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPINGHTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEYCONNECTOR_CONTEXT_KEY| Constructor and Description |
|---|
HttpClientTransportOverFCGI(int selectors,
boolean multiplexed,
java.lang.String scriptRoot) |
HttpClientTransportOverFCGI(java.lang.String scriptRoot) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
customize(Request request,
HttpFields fastCGIHeaders) |
java.lang.String |
getScriptRoot() |
boolean |
isMultiplexed() |
Connection |
newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
protected HttpConnectionOverFCGI |
newHttpConnection(EndPoint endPoint,
HttpDestination destination,
Promise<Connection> promise) |
HttpDestination |
newHttpDestination(Origin origin)
Creates a new, transport-specific,
HttpDestination object. |
configure, connect, connectFailed, doStart, doStop, getSelectors, newSelectorManagergetConnectionPoolFactory, getHttpClient, setConnectionPoolFactory, setHttpClientaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomizepublic HttpClientTransportOverFCGI(java.lang.String scriptRoot)
public HttpClientTransportOverFCGI(int selectors,
boolean multiplexed,
java.lang.String scriptRoot)
@ManagedAttribute(value="Whether connections are multiplexed", readonly=true) public boolean isMultiplexed()
@ManagedAttribute(value="The scripts root directory", readonly=true) public java.lang.String getScriptRoot()
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, java.util.Map<java.lang.String,java.lang.Object> context) throws java.io.IOException
endPoint - the EndPoint to link the newly created connection tocontext - the context data to create the connectionConnectionjava.io.IOException - if the connection cannot be createdprotected HttpConnectionOverFCGI newHttpConnection(EndPoint endPoint, HttpDestination destination, Promise<Connection> promise)
protected void customize(Request request, HttpFields fastCGIHeaders)
Copyright © 1995–2018 Webtide. All rights reserved.