Class UnixSocketConnector
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.server.AbstractConnector
org.eclipse.jetty.unixsocket.server.UnixSocketConnector
- All Implemented Interfaces:
Connector,Container,Destroyable,Dumpable,Dumpable.DumpableContainer,Graceful,LifeCycle
@Deprecated(forRemoval=true)
@ManagedObject("Connector using UNIX Socket")
public class UnixSocketConnector
extends AbstractConnector
Deprecated, for removal: This API element is subject to removal in a future version.
Use UnixDomainServerConnector from the jetty-unixdomain-server module instead (requires Java 16 or later).
A server-side connector for UNIX sockets.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classDeprecated, for removal: This API element is subject to removal in a future version.Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Graceful
Graceful.Shutdown, Graceful.ThrowingRunnableNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionUnixSocketConnector(Server server) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the default configuration.UnixSocketConnector(Server server, int selectors) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given number of selectorsUnixSocketConnector(Server server, int selectors, ConnectionFactory... factories) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given selectors and ConnectionFactories.UnixSocketConnector(Server server, int selectors, SslContextFactory.Server sslContextFactory) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given selectors and SslContextFactory.UnixSocketConnector(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, int selectors, ConnectionFactory... factories) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given parameters.UnixSocketConnector(Server server, ConnectionFactory... factories) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given ConnectionFactories.UnixSocketConnector(Server server, SslContextFactory.Server sslContextFactory) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given SslContextFactory.UnixSocketConnector(Server server, SslContextFactory.Server sslContextFactory, ConnectionFactory... factories) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given SslContextFactory and ConnectionFactories. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(int acceptorID) Deprecated, for removal: This API element is subject to removal in a future version.protected voidaccepted(jnr.unixsocket.UnixSocketChannel channel) Deprecated, for removal: This API element is subject to removal in a future version.voidclose()Deprecated, for removal: This API element is subject to removal in a future version.protected voiddoStart()Deprecated, for removal: This API element is subject to removal in a future version.Starts the managed lifecycle beans in the order they were added.protected voiddoStop()Deprecated, for removal: This API element is subject to removal in a future version.Stops the managed lifecycle beans in the reverse order they were added.intDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.protected UnixSocketEndPointnewEndPoint(SelectableChannel channel, ManagedSelector selector, SelectionKey key) Deprecated, for removal: This API element is subject to removal in a future version.protected SelectorManagernewSelectorManager(Executor executor, Scheduler scheduler, int selectors) Deprecated, for removal: This API element is subject to removal in a future version.voidopen()Deprecated, for removal: This API element is subject to removal in a future version.voidsetAcceptQueueSize(int acceptQueueSize) Deprecated, for removal: This API element is subject to removal in a future version.voidsetReuseAddress(boolean reuseAddress) Deprecated, for removal: This API element is subject to removal in a future version.voidsetUnixSocket(String filename) Deprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.eclipse.jetty.server.AbstractConnector
addConnectionFactory, addFirstConnectionFactory, addIfAbsentConnectionFactory, clearConnectionFactories, getAcceptorPriorityDelta, getAcceptors, getByteBufferPool, getConnectedEndPoints, getConnectionFactories, getConnectionFactory, getConnectionFactory, getDefaultConnectionFactory, getDefaultProtocol, getExecutor, getHttpChannelListeners, getIdleTimeout, getName, getProtocols, getScheduler, getServer, getShutdownIdleTimeout, handleAcceptFailure, interruptAcceptors, isAccepting, isShutdown, join, join, onEndPointClosed, onEndPointOpened, removeConnectionFactory, setAccepting, setAcceptorPriorityDelta, setConnectionFactories, setDefaultProtocol, setIdleTimeout, setName, setShutdownIdleTimeout, shutdownMethods 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, 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.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.DumpableContainer
isDumpableMethods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stop
-
Field Details
-
MAX_UNIX_SOCKET_PATH_LENGTH
public static final int MAX_UNIX_SOCKET_PATH_LENGTHDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
UnixSocketConnector
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the default configuration.
- Parameters:
server- theServerthis connector will accept connections for.
-
UnixSocketConnector
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given number of selectors
- Parameters:
server- theServerthis connector will accept connections for.selectors- the number of selectors, or <=0 for a default value.
-
UnixSocketConnector
public UnixSocketConnector(@Name("server") Server server, @Name("factories") ConnectionFactory... factories) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given ConnectionFactories.
- Parameters:
server- theServerthis connector will accept connections for.factories- zero or moreConnectionFactoryinstances used to create and configure connections.
-
UnixSocketConnector
public UnixSocketConnector(@Name("server") Server server, @Name("selectors") int selectors, @Name("factories") ConnectionFactory... factories) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given selectors and ConnectionFactories.
- Parameters:
server- theServerthis connector will accept connections for.selectors- the number of selectors, or <=0 for a default value.factories- zero or moreConnectionFactoryinstances used to create and configure connections.
-
UnixSocketConnector
public UnixSocketConnector(@Name("server") Server server, @Name("sslContextFactory") SslContextFactory.Server sslContextFactory) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a UnixSocketConnector with the given SslContextFactory.
- Parameters:
server- theServerthis connector will accept connections for.sslContextFactory- when non null aSslConnectionFactoryprepended to the other ConnectionFactories
-
UnixSocketConnector
-