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 ofC
- 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 Summary
FieldsModifier and TypeFieldDescriptionprivate DecoderMetadataSet
private EncoderMetadataSet
private final Class
<?> private long
private long
Callable for @OnMessage
annotation dealing with Binary Message FormatCallable for @OnMessage
annotation dealing with Binary Streaming Message FormatCallable for @OnClose
annotationCallable for @OnError
annotationCallable for @OnOpen
annotation.Callable for @OnMessage
annotation dealing with Pong Message FormatCallable for @OnMessage
annotation dealing with Text Message FormatCallable for @OnMessage
annotation dealing with Text Streaming Message Format -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
customizeParamsOnClose
(LinkedList<IJsrParamId> params) void
customizeParamsOnError
(LinkedList<IJsrParamId> params) void
void
customizeParamsOnOpen
(LinkedList<IJsrParamId> params) abstract T
abstract C
Class
<?> long
long
void
setMaxBinaryMessageSize
(long maxBinaryMessageSize) void
setMaxTextMessageSize
(long maxTextMessageSize)
-
Field Details
-
onOpen
Callable for @OnOpen
annotation. -
onClose
Callable for @OnClose
annotation -
onError
Callable for @OnError
annotation -
onText
Callable for @OnMessage
annotation dealing with Text Message Format -
onTextStream
Callable for @OnMessage
annotation dealing with Text Streaming Message Format -
onBinary
Callable for @OnMessage
annotation dealing with Binary Message Format -
onBinaryStream
Callable for @OnMessage
annotation dealing with Binary Streaming Message Format -
onPong
Callable for @OnMessage
annotation dealing with Pong Message Format -
endpointClass
-
decoders
-
encoders
-
maxTextMessageSize
private long maxTextMessageSize -
maxBinaryMessageSize
private long maxBinaryMessageSize
-
-
Constructor Details
-
AnnotatedEndpointMetadata
-
-
Method Details
-
customizeParamsOnClose
-
customizeParamsOnError
-
customizeParamsOnMessage
-
customizeParamsOnOpen
-
getAnnotation
-
getConfig
-
maxBinaryMessageSize
public long maxBinaryMessageSize()- Specified by:
maxBinaryMessageSize
in interfaceEndpointMetadata
-
maxTextMessageSize
public long maxTextMessageSize()- Specified by:
maxTextMessageSize
in interfaceEndpointMetadata
-
getDecoders
- Specified by:
getDecoders
in interfaceEndpointMetadata
-
getEncoders
- Specified by:
getEncoders
in interfaceEndpointMetadata
-
getEndpointClass
- Specified by:
getEndpointClass
in interfaceEndpointMetadata
-
setMaxBinaryMessageSize
public void setMaxBinaryMessageSize(long maxBinaryMessageSize) -
setMaxTextMessageSize
public void setMaxTextMessageSize(long maxTextMessageSize)
-