Class ServerEndpointConfigWrapper

    • Method Detail

      • getEncoders

        public java.util.List<java.lang.Class<? extends Encoder>> getEncoders()
        Description copied from interface: EndpointConfig
        Return the Encoder implementation classes configured. These will be instantiated by the container to encode custom objects passed into the send() methods on remote endpoints.
        Specified by:
        getEncoders in interface EndpointConfig
        Returns:
        the encoder implementation classes, an empty list if none.
      • getDecoders

        public java.util.List<java.lang.Class<? extends Decoder>> getDecoders()
        Description copied from interface: EndpointConfig
        Return the Decoder implementation classes configured. These will be instantiated by the container to decode incoming messages into the expected custom objects on MessageHandler.Whole.onMessage(Object) callbacks.
        Specified by:
        getDecoders in interface EndpointConfig
        Returns:
        the decoder implementation classes, the empty list if none.
      • getUserProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getUserProperties()
        Description copied from interface: EndpointConfig
        This method returns a modifiable Map that the developer may use to store application specific information relating to the endpoint that uses this configuration instance. Web socket applications running on distributed implementations of the web container should make any application specific objects stored here java.io.Serializable, or the object may not be recreated after a failover.
        Specified by:
        getUserProperties in interface EndpointConfig
        Returns:
        a modifiable Map of application data.