ConnectionFactory
, Container
, Destroyable
, Dumpable
, LifeCycle
HTTP2ServerConnectionFactory
, RawHTTP2ServerConnectionFactory
@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 | Description |
---|---|---|
|
AbstractHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration) |
|
protected |
AbstractHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration,
java.lang.String... protocols) |
configure, getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toString
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
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
public AbstractHTTP2ServerConnectionFactory(@Name("config") HttpConfiguration httpConfiguration)
protected AbstractHTTP2ServerConnectionFactory(@Name("config") HttpConfiguration httpConfiguration, @Name("protocols") java.lang.String... protocols)
@ManagedAttribute("The HPACK dynamic table maximum size") public int getMaxDynamicTableSize()
public void setMaxDynamicTableSize(int maxDynamicTableSize)
@ManagedAttribute("The initial size of session\'s flow control receive window") public int getInitialSessionRecvWindow()
public void setInitialSessionRecvWindow(int initialSessionRecvWindow)
@ManagedAttribute("The initial size of stream\'s flow control receive window") public int getInitialStreamRecvWindow()
public void setInitialStreamRecvWindow(int initialStreamRecvWindow)
@ManagedAttribute("The max number of concurrent streams per session") public int getMaxConcurrentStreams()
public void setMaxConcurrentStreams(int maxConcurrentStreams)
@ManagedAttribute("The max header block fragment") public int getMaxHeaderBlockFragment()
public void setMaxHeaderBlockFragment(int maxHeaderBlockFragment)
public FlowControlStrategy.Factory getFlowControlStrategyFactory()
public void setFlowControlStrategyFactory(FlowControlStrategy.Factory flowControlStrategyFactory)
@ManagedAttribute("The stream idle timeout in milliseconds") public long getStreamIdleTimeout()
public void setStreamIdleTimeout(long streamIdleTimeout)
@ManagedAttribute("The number of threads reserved for high priority tasks") public int getReservedThreads()
ReservedThreadExecutor
public void setReservedThreads(int threads)
public HttpConfiguration getHttpConfiguration()
public Connection newConnection(Connector connector, EndPoint endPoint)
protected abstract ServerSessionListener newSessionListener(Connector connector, EndPoint endPoint)
protected ServerParser newServerParser(Connector connector, ServerParser.Listener listener)
Copyright © 1995–2017 Webtide. All rights reserved.