Class AnnotatedServerEndpointConfig

  • All Implemented Interfaces:
    javax.websocket.EndpointConfig, javax.websocket.server.ServerEndpointConfig

    public class AnnotatedServerEndpointConfig
    extends java.lang.Object
    implements javax.websocket.server.ServerEndpointConfig
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface javax.websocket.server.ServerEndpointConfig

        javax.websocket.server.ServerEndpointConfig.Builder, javax.websocket.server.ServerEndpointConfig.Configurator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.websocket.server.ServerEndpointConfig.Configurator configurator  
      private java.util.List<java.lang.Class<? extends javax.websocket.Decoder>> decoders  
      private java.util.List<java.lang.Class<? extends javax.websocket.Encoder>> encoders  
      private java.lang.Class<?> endpointClass  
      private java.util.List<javax.websocket.Extension> extensions  
      private java.lang.String path  
      private java.util.List<java.lang.String> subprotocols  
      private java.util.Map<java.lang.String,​java.lang.Object> userProperties  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.websocket.server.ServerEndpointConfig.Configurator getConfigurator()  
      java.util.List<java.lang.Class<? extends javax.websocket.Decoder>> getDecoders()  
      java.util.List<java.lang.Class<? extends javax.websocket.Encoder>> getEncoders()  
      java.lang.Class<?> getEndpointClass()  
      java.util.List<javax.websocket.Extension> getExtensions()  
      java.lang.String getPath()  
      java.util.List<java.lang.String> getSubprotocols()  
      java.util.Map<java.lang.String,​java.lang.Object> getUserProperties()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • endpointClass

        private final java.lang.Class<?> endpointClass
      • path

        private final java.lang.String path
      • decoders

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

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

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

        private final java.util.List<java.lang.String> subprotocols
      • userProperties

        private java.util.Map<java.lang.String,​java.lang.Object> userProperties
      • extensions

        private java.util.List<javax.websocket.Extension> extensions
    • Constructor Detail

      • AnnotatedServerEndpointConfig

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

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

      • getConfigurator

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

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

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

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

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

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

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object