Class EndpointInstance


  • public class EndpointInstance
    extends java.lang.Object
    Associate a JSR Endpoint with its optional EndpointConfig
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.websocket.EndpointConfig config
      The instance specific configuration for the Endpoint
      private java.lang.Object endpoint
      The instance of the Endpoint
      private EndpointMetadata metadata
      The metadata for this endpoint
    • Constructor Summary

      Constructors 
      Constructor Description
      EndpointInstance​(java.lang.Object endpoint, javax.websocket.EndpointConfig config, EndpointMetadata metadata)  
    • Field Detail

      • endpoint

        private final java.lang.Object endpoint
        The instance of the Endpoint
      • config

        private final javax.websocket.EndpointConfig config
        The instance specific configuration for the Endpoint
      • metadata

        private final EndpointMetadata metadata
        The metadata for this endpoint
    • Constructor Detail

      • EndpointInstance

        public EndpointInstance​(java.lang.Object endpoint,
                                javax.websocket.EndpointConfig config,
                                EndpointMetadata metadata)
    • Method Detail

      • getConfig

        public javax.websocket.EndpointConfig getConfig()
      • getEndpoint

        public java.lang.Object getEndpoint()