Class ServerQuicConfiguration
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.quic.common.QuicConfiguration
org.eclipse.jetty.quic.server.ServerQuicConfiguration
- All Implemented Interfaces:
Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
Server-side QuicConfiguration
with server-specific settings.
The PEM working directory constructor argument is mandatory, although
it may be set after construction via QuicConfiguration.setPemWorkDirectory(Path)
before starting this instance.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface Container
Container.InheritedListener, Container.Listener
Nested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener
-
Field Summary
Fields inherited from class QuicConfiguration
CERTIFICATE_CHAIN_PEM_PATH_KEY, CONTEXT_KEY, PRIVATE_KEY_PEM_PATH_KEY, TRUSTED_CERTIFICATES_PEM_PATH_KEY
-
Constructor Summary
ConstructorsConstructorDescriptionServerQuicConfiguration
(SslContextFactory.Server sslContextFactory, Path pemWorkDirectory) -
Method Summary
Methods inherited from class QuicConfiguration
getBidirectionalStreamRecvWindow, getImplementationConfiguration, getInputBufferSize, getMaxBidirectionalRemoteStreams, getMaxUnidirectionalRemoteStreams, getOutputBufferSize, getPemWorkDirectory, getProtocols, getSessionRecvWindow, getUnidirectionalStreamRecvWindow, isDisableActiveMigration, isUseInputDirectByteBuffers, isUseOutputDirectByteBuffers, setBidirectionalStreamRecvWindow, setDisableActiveMigration, setInputBufferSize, setMaxBidirectionalRemoteStreams, setMaxUnidirectionalRemoteStreams, setOutputBufferSize, setPemWorkDirectory, setProtocols, setSessionRecvWindow, setUnidirectionalStreamRecvWindow, setUseInputDirectByteBuffers, setUseOutputDirectByteBuffers
Methods inherited from class ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeans
Methods inherited from class AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toString
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface Container
getCachedBeans, getEventListeners
Methods inherited from interface Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
ServerQuicConfiguration
-
-
Method Details
-
getSslContextFactory
-
doStart
Description copied from class:ContainerLifeCycle
Starts the managed lifecycle beans in the order they were added.- Overrides:
doStart
in classContainerLifeCycle
- Throws:
Exception
- If there was a problem starting. Will cause a transition to FAILED state
-
doStop
Description copied from class:ContainerLifeCycle
Stops the managed lifecycle beans in the reverse order they were added.- Overrides:
doStop
in classContainerLifeCycle
- Throws:
Exception
- If there was a problem stopping. Will cause a transition to FAILED state
-