@ManagedObject public abstract class AbstractHTTP2ServerConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListener
ConnectionFactory.Upgrading
Container.InheritedListener, Container.Listener
LifeCycle.Listener
FAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING
Modifier | Constructor and Description |
---|---|
|
AbstractHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration) |
protected |
AbstractHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration,
String... protocols) |
configure, getFactories, getInputBufferSize, getProtocol, getProtocols, 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, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public AbstractHTTP2ServerConnectionFactory(@Name(value="config") HttpConfiguration httpConfiguration)
protected AbstractHTTP2ServerConnectionFactory(@Name(value="config") HttpConfiguration httpConfiguration, String... protocols)
@ManagedAttribute(value="The HPACK dynamic table maximum size") public int getMaxDynamicTableSize()
public void setMaxDynamicTableSize(int maxDynamicTableSize)
@ManagedAttribute(value="The initial size of session\'s flow control receive window") public int getInitialSessionRecvWindow()
public void setInitialSessionRecvWindow(int initialSessionRecvWindow)
@ManagedAttribute(value="The initial size of stream\'s flow control receive window") public int getInitialStreamRecvWindow()
public void setInitialStreamRecvWindow(int initialStreamRecvWindow)
@ManagedAttribute(value="The max number of concurrent streams per session") public int getMaxConcurrentStreams()
public void setMaxConcurrentStreams(int maxConcurrentStreams)
public int getMaxHeaderBlockFragment()
public void setMaxHeaderBlockFragment(int maxHeaderBlockFragment)
public FlowControlStrategy.Factory getFlowControlStrategyFactory()
public void setFlowControlStrategyFactory(FlowControlStrategy.Factory flowControlStrategyFactory)
@ManagedAttribute(value="The stream idle timeout in milliseconds") public long getStreamIdleTimeout()
public void setStreamIdleTimeout(long streamIdleTimeout)
public HttpConfiguration getHttpConfiguration()
public Connection newConnection(Connector connector, EndPoint endPoint)
ConnectionFactory
Creates a new Connection
with the given parameters
connector
- The Connector
creating this connectionendPoint
- the EndPoint
associated with the connectionConnection
protected abstract ServerSessionListener newSessionListener(Connector connector, EndPoint endPoint)
protected ServerParser newServerParser(Connector connector, ServerParser.Listener listener)
Copyright © 1995–2017 Webtide. All rights reserved.