Class 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.

  • Field Details

    • MAX_UNIX_SOCKET_PATH_LENGTH

      public static final int MAX_UNIX_SOCKET_PATH_LENGTH
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • UnixSocketConnector

      public UnixSocketConnector(@Name("server") Server server)
      Deprecated, for removal: This API element is subject to removal in a future version.

      Constructs a UnixSocketConnector with the default configuration.

      Parameters:
      server - the Server this connector will accept connections for.
    • UnixSocketConnector

      public UnixSocketConnector(@Name("server") Server server, @Name("selectors") int selectors)
      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 - the Server this 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 - the Server this connector will accept connections for.
      factories - zero or more ConnectionFactory instances 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 - the Server this connector will accept connections for.
      selectors - the number of selectors, or <=0 for a default value.
      factories - zero or more ConnectionFactory instances 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 - the Server this connector will accept connections for.
      sslContextFactory - when non null a SslConnectionFactory prepended to the other ConnectionFactories
    • UnixSocketConnector

      public UnixSocketConnector(@Name("server") Server server, @Name("selectors") int selectors,