Class AnnotatedEndpointMetadata<T extends Annotation,C extends javax.websocket.EndpointConfig>

java.lang.Object
org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata<T,C>
Type Parameters:
T - the annotation this metadata is based off of
C - the endpoint configuration this is based off of
All Implemented Interfaces:
EndpointMetadata
Direct Known Subclasses:
AnnotatedClientEndpointMetadata, AnnotatedServerEndpointMetadata

public abstract class AnnotatedEndpointMetadata<T extends Annotation,C extends javax.websocket.EndpointConfig> extends Object implements EndpointMetadata
Static reference to a specific annotated classes metadata.
  • Field Details

    • onOpen

      public OnOpenCallable onOpen
      Callable for @OnOpen annotation.
    • onClose

      public OnCloseCallable onClose
      Callable for @OnClose annotation
    • onError

      public OnErrorCallable onError
      Callable for @OnError annotation
    • onText

      public OnMessageTextCallable onText
      Callable for @OnMessage annotation dealing with Text Message Format
    • onTextStream

      public OnMessageTextStreamCallable onTextStream
      Callable for @OnMessage annotation dealing with Text Streaming Message Format
    • onBinary

      public OnMessageBinaryCallable onBinary
      Callable for @OnMessage annotation dealing with Binary Message Format
    • onBinaryStream

      public OnMessageBinaryStreamCallable onBinaryStream
      Callable for @OnMessage annotation dealing with Binary Streaming Message Format
    • onPong

      public OnMessagePongCallable onPong
      Callable for @OnMessage annotation dealing with Pong Message Format
    • endpointClass

      private final Class<?> endpointClass
    • decoders

      private DecoderMetadataSet decoders
    • encoders

      private EncoderMetadataSet encoders
    • maxTextMessageSize

      private long maxTextMessageSize
    • maxBinaryMessageSize

      private long maxBinaryMessageSize
  • Constructor Details

    • AnnotatedEndpointMetadata

      protected AnnotatedEndpointMetadata(Class<?> endpointClass)
  • Method Details