Package io.micronaut.servlet.jetty
Class JettyConfiguration.ConnectorConfiguration
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.server.AbstractConnector
org.eclipse.jetty.server.AbstractNetworkConnector
org.eclipse.jetty.server.ServerConnector
io.micronaut.servlet.jetty.JettyConfiguration.ConnectorConfiguration
- All Implemented Interfaces:
Closeable,AutoCloseable,org.eclipse.jetty.server.Connector,org.eclipse.jetty.server.NetworkConnector,org.eclipse.jetty.util.component.Container,org.eclipse.jetty.util.component.Destroyable,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Dumpable.DumpableContainer,org.eclipse.jetty.util.component.Graceful,org.eclipse.jetty.util.component.LifeCycle
- Enclosing class:
- JettyConfiguration
@EachProperty(value="connectors",
excludes={"beans","eventListeners","connectionFactories"})
public static class JettyConfiguration.ConnectorConfiguration
extends org.eclipse.jetty.server.ServerConnector
Configuration for additional connectors.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.server.ServerConnector
org.eclipse.jetty.server.ServerConnector.ServerConnectorManagerNested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.Dumpable.DumpAppendableNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Graceful
org.eclipse.jetty.util.component.Graceful.Shutdown, org.eclipse.jetty.util.component.Graceful.ThrowingRunnableNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.server.NetworkConnector
org.eclipse.jetty.server.NetworkConnector.Listener -
Field Summary
Fields inherited from class org.eclipse.jetty.server.AbstractConnector
LOGFields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPINGFields inherited from interface org.eclipse.jetty.util.component.Dumpable
LEGEND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether SSL is enabled for the connector.voidsetSslEnabled(boolean sslEnabled) Set whether SSL should be used if configured.Methods inherited from class org.eclipse.jetty.server.ServerConnector
accept, close, configure, doStart, doStop, getAcceptedReceiveBufferSize, getAcceptedSendBufferSize, getAcceptedTcpNoDelay, getAcceptQueueSize, getLocalPort, getReuseAddress, getSelectorManager, getTransport, isInheritChannel, isOpen, isReusePort, newEndPoint, newSelectorManager, open, open, openAcceptChannel, setAcceptedReceiveBufferSize, setAcceptedSendBufferSize, setAcceptedTcpNoDelay, setAccepting, setAcceptQueueSize, setInheritChannel, setReuseAddress, setReusePortMethods inherited from class org.eclipse.jetty.server.AbstractNetworkConnector
getHost, getPort, handleAcceptFailure, setHost, setPort, shutdown, toStringMethods inherited from class org.eclipse.jetty.server.AbstractConnector
addConnectionFactory, addFirstConnectionFactory, addIfAbsentConnectionFactory, clearConnectionFactories, getAcceptorPriorityDelta, getAcceptors, getByteBufferPool, getConnectedEndPoints, getConnectionFactories, getConnectionFactory, getConnectionFactory, getDefaultConnectionFactory, getDefaultProtocol, getExecutor, getIdleTimeout, getName, getProtocols, getScheduler, getServer, getShutdownIdleTimeout, interruptAcceptors, isAccepting, isShutdown, join, join, onEndPointClosed, onEndPointOpened, removeConnectionFactory, setAcceptorPriorityDelta, setConnectionFactories, setDefaultProtocol, setIdleTimeout, setName, setShutdownIdleTimeoutMethods inherited from class org.eclipse.jetty.util.component.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, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.server.Connector
getByteBufferPool, getConnectedEndPoints, getConnectionFactories, getConnectionFactory, getConnectionFactory, getDefaultConnectionFactory, getExecutor, getIdleTimeout, getName, getProtocols, getScheduler, getServerMethods inherited from interface org.eclipse.jetty.util.component.Container
addBean, addBean, addEventListener, getBean, getBeans, getBeans, getCachedBeans, getContainedBeans, getEventListeners, isManaged, manage, removeBean, removeEventListener, unmanageMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump, dump, dumpSelfMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpableMethods inherited from interface org.eclipse.jetty.util.component.Graceful
isShutdownMethods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stop
-
Constructor Details
-
ConnectorConfiguration
-
-
Method Details
-
isSslEnabled
public boolean isSslEnabled()Whether SSL is enabled for the connector. Defaults to true which means if SSL is configured it will be used.- Returns:
- True if SSL should be used if configured
-
setSslEnabled
public void setSslEnabled(boolean sslEnabled) Set whether SSL should be used if configured.- Parameters:
sslEnabled- Whether SSL is enabled.
-