ConnectionFactory, HttpConfiguration.ConnectionFactory, Container, Destroyable, Dumpable, LifeCyclepublic class HttpConnectionFactory extends AbstractConnectionFactory implements HttpConfiguration.ConnectionFactory
Accepts connections either directly or via SSL and/or ALPN 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.AbstractLifeCycleListenerConnectionFactory.UpgradingContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor | Description |
|---|---|
HttpConnectionFactory() |
|
HttpConnectionFactory(HttpConfiguration config) |
|
HttpConnectionFactory(HttpConfiguration config,
HttpCompliance compliance) |
| Modifier and Type | Method | Description |
|---|---|---|
HttpCompliance |
getHttpCompliance() |
|
HttpConfiguration |
getHttpConfiguration() |
|
boolean |
isRecordHttpComplianceViolations() |
|
Connection |
newConnection(Connector connector,
EndPoint endPoint) |
Creates a new
Connection with the given parameters |
void |
setHttpCompliance(HttpCompliance httpCompliance) |
|
void |
setRecordHttpComplianceViolations(boolean recordHttpComplianceViolations) |
configure, getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toStringaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, 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, updateBeanspublic HttpConnectionFactory()
public HttpConnectionFactory(@Name("config") HttpConfiguration config)
public HttpConnectionFactory(@Name("config") HttpConfiguration config, @Name("compliance") HttpCompliance compliance)
public HttpConfiguration getHttpConfiguration()
getHttpConfiguration in interface HttpConfiguration.ConnectionFactorypublic HttpCompliance getHttpCompliance()
public boolean isRecordHttpComplianceViolations()
public void setHttpCompliance(HttpCompliance httpCompliance)
httpCompliance - String value of HttpCompliancepublic 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 connectionConnectionpublic void setRecordHttpComplianceViolations(boolean recordHttpComplianceViolations)
Copyright © 1995–2018 Webtide. All rights reserved.