public class HttpClientTransportOverFCGI extends AbstractHttpClientTransport
AbstractHttpClientTransport.ClientSelectorManagerAbstractLifeCycle.AbstractLifeCycleListenerClientConnectionFactory.HelperContainer.InheritedListener, Container.ListenerLifeCycle.ListenerLOGFAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGHTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEY| Constructor and Description |
|---|
HttpClientTransportOverFCGI(int selectors,
boolean multiplexed,
String scriptRoot) |
HttpClientTransportOverFCGI(String scriptRoot) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
customize(Request request,
HttpFields fastCGIHeaders) |
String |
getScriptRoot() |
boolean |
isMultiplexed() |
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
HttpDestination |
newHttpDestination(Origin origin)
Creates a new, transport-specific,
HttpDestination object. |
configure, connect, connectFailed, doStart, doStop, getHttpClient, newSelectorManager, setHttpClientaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic HttpClientTransportOverFCGI(String scriptRoot)
public HttpClientTransportOverFCGI(int selectors,
boolean multiplexed,
String scriptRoot)
public boolean isMultiplexed()
public 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 SPDY 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 createdprotected void customize(Request request, HttpFields fastCGIHeaders)
Copyright © 1995-2015 Webtide. All Rights Reserved.