Class AnnotatedServerEndpointConfig

java.lang.Object
org.eclipse.jetty.websocket.jsr356.server.AnnotatedServerEndpointConfig
All Implemented Interfaces:
javax.websocket.EndpointConfig, javax.websocket.server.ServerEndpointConfig

public class AnnotatedServerEndpointConfig extends Object implements javax.websocket.server.ServerEndpointConfig
  • Field Details

    • endpointClass

      private final Class<?> endpointClass
    • path

      private final String path
    • decoders

      private final List<Class<? extends javax.websocket.Decoder>> decoders
    • encoders

      private final List<Class<? extends javax.websocket.Encoder>> encoders
    • configurator

      private final javax.websocket.server.ServerEndpointConfig.Configurator configurator
    • subprotocols

      private final List<String> subprotocols
    • userProperties

      private Map<String,Object> userProperties
    • extensions

      private List<javax.websocket.Extension> extensions
  • Constructor Details

    • AnnotatedServerEndpointConfig

      public AnnotatedServerEndpointConfig(WebSocketContainerScope containerScope, Class<?> endpointClass, javax.websocket.server.ServerEndpoint anno) throws javax.websocket.DeploymentException
      Throws:
      javax.websocket.DeploymentException
    • AnnotatedServerEndpointConfig

      public AnnotatedServerEndpointConfig(WebSocketContainerScope containerScope, Class<?> endpointClass, javax.websocket.server.ServerEndpoint anno, javax.websocket.server.ServerEndpointConfig baseConfig) throws javax.websocket.DeploymentException
      Throws:
      javax.websocket.DeploymentException
  • Method Details

    • getConfigurator

      public javax.websocket.server.ServerEndpointConfig.Configurator getConfigurator()
      Specified by:
      getConfigurator in interface javax.websocket.server.ServerEndpointConfig
    • getDecoders

      public List<Class<? extends javax.websocket.Decoder>> getDecoders()
      Specified by:
      getDecoders in interface javax.websocket.EndpointConfig
    • getEncoders

      public List<Class<? extends javax.websocket.Encoder>> getEncoders()
      Specified by:
      getEncoders in interface javax.websocket.EndpointConfig
    • getEndpointClass

      public Class<?> getEndpointClass()
      Specified by:
      getEndpointClass in interface javax.websocket.server.ServerEndpointConfig
    • getExtensions

      public List<javax.websocket.Extension> getExtensions()
      Specified by:
      getExtensions in interface javax.websocket.server.ServerEndpointConfig
    • getPath

      public String getPath()
      Specified by:
      getPath in interface javax.websocket.server.ServerEndpointConfig
    • getSubprotocols

      public List<String> getSubprotocols()
      Specified by:
      getSubprotocols in interface javax.websocket.server.ServerEndpointConfig
    • getUserProperties

      public Map<String,Object> getUserProperties()
      Specified by:
      getUserProperties in interface javax.websocket.EndpointConfig
    • toString

      public String toString()
      Overrides:
      toString in class Object