ServerEndpointConfig (WebSocket 1.1 API Documentation - Apache Tomcat 9.0.111)
Description: declaration: package: javax.websocket.server, interface: ServerEndpointConfig

# Interface ServerEndpointConfig

All Superinterfaces:
  `EndpointConfig`

public interface ServerEndpointConfig extends EndpointConfig
Provides configuration information for WebSocket endpoints published to a server. Applications may provide their own implementation or use `ServerEndpointConfig.Builder`.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final class`
  `ServerEndpointConfig.Builder`
  `static class`
  `ServerEndpointConfig.Configurator`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ServerEndpointConfig.Configurator`
  `getConfigurator()`
  `Class<?>`
  `getEndpointClass()`
  `List<Extension>`
  `getExtensions()`
  `String`
  `getPath()`
  Returns the path at which this WebSocket server endpoint has been registered.
  `List<String>`
  `getSubprotocols()`

  ### Methods inherited from interface EndpointConfig

  `getDecoders, getEncoders, getUserProperties`

- ## Method Details

  - ### getEndpointClass

    Class<?> getEndpointClass()

  - ### getPath

    String getPath()
    Returns the path at which this WebSocket server endpoint has been registered. It may be a path or a level 0 URI template.
    Returns:
      The registered path

  - ### getSubprotocols

    List<String> getSubprotocols()

  - ### getExtensions

    List<Extension> getExtensions()

  - ### getConfigurator

    ServerEndpointConfig.Configurator getConfigurator()