Class AnnotatedServerEndpointMetadata

  • All Implemented Interfaces:
    org.eclipse.jetty.websocket.jsr356.metadata.EndpointMetadata, ServerEndpointMetadata

    public class AnnotatedServerEndpointMetadata
    extends org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,​javax.websocket.server.ServerEndpointConfig>
    implements ServerEndpointMetadata
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata

        onBinary, onBinaryStream, onClose, onError, onOpen, onPong, onText, onTextStream
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AnnotatedServerEndpointMetadata​(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope containerScope, java.lang.Class<?> websocket, javax.websocket.server.ServerEndpointConfig baseConfig)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void customizeParamsOnClose​(java.util.LinkedList<org.eclipse.jetty.websocket.jsr356.annotations.IJsrParamId> params)  
      void customizeParamsOnError​(java.util.LinkedList<org.eclipse.jetty.websocket.jsr356.annotations.IJsrParamId> params)  
      void customizeParamsOnMessage​(java.util.LinkedList<org.eclipse.jetty.websocket.jsr356.annotations.IJsrParamId> params)  
      void customizeParamsOnOpen​(java.util.LinkedList<org.eclipse.jetty.websocket.jsr356.annotations.IJsrParamId> params)  
      javax.websocket.server.ServerEndpoint getAnnotation()  
      AnnotatedServerEndpointConfig getConfig()  
      java.lang.String getPath()  
      java.lang.String toString()  
      • Methods inherited from class org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata

        getDecoders, getEncoders, getEndpointClass, maxBinaryMessageSize, maxTextMessageSize, setMaxBinaryMessageSize, setMaxTextMessageSize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jetty.websocket.jsr356.metadata.EndpointMetadata

        getDecoders, getEncoders, getEndpointClass, maxBinaryMessageSize, maxTextMessageSize
    • Constructor Detail

      • AnnotatedServerEndpointMetadata

        protected AnnotatedServerEndpointMetadata​(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope containerScope,
                                                  java.lang.Class<?> websocket,
                                                  javax.websocket.server.ServerEndpointConfig baseConfig)
                                           throws javax.websocket.DeploymentException
        Throws:
        javax.websocket.DeploymentException
    • Method Detail

      • customizeParamsOnClose

        public void customizeParamsOnClose​(java.util.LinkedList<org.eclipse.jetty.websocket.jsr356.annotations.IJsrParamId> params)
        Overrides:
        customizeParamsOnClose in class org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,​javax.websocket.server.ServerEndpointConfig>
      • customizeParamsOnError

        public void customizeParamsOnError​(java.util.LinkedList<org.eclipse.jetty.websocket.jsr356.annotations.IJsrParamId> params)
        Overrides:
        customizeParamsOnError in class org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,​javax.websocket.server.ServerEndpointConfig>
      • customizeParamsOnOpen

        public void customizeParamsOnOpen​(java.util.LinkedList<org.eclipse.jetty.websocket.jsr356.annotations.IJsrParamId> params)
        Overrides:
        customizeParamsOnOpen in class org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,​javax.websocket.server.ServerEndpointConfig>
      • customizeParamsOnMessage

        public void customizeParamsOnMessage​(java.util.LinkedList<org.eclipse.jetty.websocket.jsr356.annotations.IJsrParamId> params)
        Overrides:
        customizeParamsOnMessage in class org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,​javax.websocket.server.ServerEndpointConfig>
      • getAnnotation

        public javax.websocket.server.ServerEndpoint getAnnotation()
        Specified by:
        getAnnotation in class org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,​javax.websocket.server.ServerEndpointConfig>
      • getConfig

        public AnnotatedServerEndpointConfig getConfig()
        Specified by:
        getConfig in interface ServerEndpointMetadata
        Specified by:
        getConfig in class org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,​javax.websocket.server.ServerEndpointConfig>
      • toString

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