public class HttpConnectionFactory extends AbstractConnectionFactory implements HttpConfiguration.ConnectionFactory
Accepts connections either directly or via SSL and/or NPN chained connection factories. The accepted
HttpConnections are configured by a HttpConfiguration instance that is either created by
default or passed in to the constructor.
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Constructor and Description |
|---|
HttpConnectionFactory() |
HttpConnectionFactory(HttpConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
HttpConfiguration |
getHttpConfiguration() |
Connection |
newConnection(Connector connector,
EndPoint endPoint)
Creates a new
Connection with the given parameters |
configure, getFactories, getInputBufferSize, getProtocol, setInputBufferSize, toStringaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, 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 HttpConnectionFactory()
public HttpConnectionFactory(@Name(value="config") HttpConfiguration config)
public HttpConfiguration getHttpConfiguration()
getHttpConfiguration in interface HttpConfiguration.ConnectionFactorypublic Connection newConnection(Connector connector, EndPoint endPoint)
ConnectionFactoryCreates a new Connection with the given parameters
newConnection in interface ConnectionFactoryconnector - The Connector creating this connectionendPoint - the EndPoint associated with the connectionConnectionCopyright © 1995-2015 Webtide. All Rights Reserved.