public class HttpConnectionFactory extends AbstractConnectionFactory implements HttpConfiguration.ConnectionFactory
Accepts connections either directly or via SSL and/or NPN chained connection factories. The accepted
HttpConnection
s are configured by a HttpConfiguration
instance that is either created by
default or passed in to the constructor.
AbstractLifeCycle.AbstractLifeCycleListener
Container.InheritedListener, Container.Listener
LifeCycle.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, toString
addBean, 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, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public HttpConnectionFactory()
public HttpConnectionFactory(@Name(value="config") HttpConfiguration config)
public HttpConfiguration getHttpConfiguration()
getHttpConfiguration
in interface HttpConfiguration.ConnectionFactory
public Connection newConnection(Connector connector, EndPoint endPoint)
ConnectionFactory
Creates a new Connection
with the given parameters
newConnection
in interface ConnectionFactory
connector
- The Connector
creating this connectionendPoint
- the EndPoint
associated with the connectionConnection
Copyright © 1995-2015 Webtide. All Rights Reserved.