ConnectionFactory, HttpConfiguration.ConnectionFactorypublic 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.
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.Upgrading| Constructor | Description |
|---|---|
HttpConnectionFactory() |
|
HttpConnectionFactory(HttpConfiguration config) |
|
HttpConnectionFactory(HttpConfiguration config,
org.eclipse.jetty.http.HttpCompliance compliance) |
| Modifier and Type | Method | Description |
|---|---|---|
org.eclipse.jetty.http.HttpCompliance |
getHttpCompliance() |
|
HttpConfiguration |
getHttpConfiguration() |
|
boolean |
isRecordHttpComplianceViolations() |
|
org.eclipse.jetty.io.Connection |
newConnection(Connector connector,
org.eclipse.jetty.io.EndPoint endPoint) |
Creates a new
Connection with the given parameters |
void |
setHttpCompliance(org.eclipse.jetty.http.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, 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")
org.eclipse.jetty.http.HttpCompliance compliance)
public HttpConfiguration getHttpConfiguration()
getHttpConfiguration in interface HttpConfiguration.ConnectionFactorypublic org.eclipse.jetty.http.HttpCompliance getHttpCompliance()
public boolean isRecordHttpComplianceViolations()
public void setHttpCompliance(org.eclipse.jetty.http.HttpCompliance httpCompliance)
httpCompliance - String value of HttpCompliancepublic org.eclipse.jetty.io.Connection newConnection(Connector connector, org.eclipse.jetty.io.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.