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 DecoderMetadataSetprivate EncoderMetadataSetprivate final Class<?> private longprivate longCallable for @OnMessageannotation dealing with Binary Message FormatCallable for @OnMessageannotation dealing with Binary Streaming Message FormatCallable for @OnCloseannotationCallable for @OnErrorannotationCallable for @OnOpenannotation.Callable for @OnMessageannotation dealing with Pong Message FormatCallable for @OnMessageannotation dealing with Text Message FormatCallable for @OnMessageannotation dealing with Text Streaming Message Format -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizeParamsOnClose(LinkedList<IJsrParamId> params) voidcustomizeParamsOnError(LinkedList<IJsrParamId> params) voidvoidcustomizeParamsOnOpen(LinkedList<IJsrParamId> params) abstract Tabstract CClass<?> longlongvoidsetMaxBinaryMessageSize(long maxBinaryMessageSize) voidsetMaxTextMessageSize(long maxTextMessageSize)
-
Field Details
-
onOpen
Callable for @OnOpenannotation. -
onClose
Callable for @OnCloseannotation -
onError
Callable for @OnErrorannotation -
onText
Callable for @OnMessageannotation dealing with Text Message Format -
onTextStream
Callable for @OnMessageannotation dealing with Text Streaming Message Format -
onBinary
Callable for @OnMessageannotation dealing with Binary Message Format -
onBinaryStream
Callable for @OnMessageannotation dealing with Binary Streaming Message Format -
onPong
Callable for @OnMessageannotation 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:
maxBinaryMessageSizein interfaceEndpointMetadata
-
maxTextMessageSize
public long maxTextMessageSize()- Specified by:
maxTextMessageSizein interfaceEndpointMetadata
-
getDecoders
- Specified by:
getDecodersin interfaceEndpointMetadata
-
getEncoders
- Specified by:
getEncodersin interfaceEndpointMetadata
-
getEndpointClass
- Specified by:
getEndpointClassin interfaceEndpointMetadata
-
setMaxBinaryMessageSize
public void setMaxBinaryMessageSize(long maxBinaryMessageSize) -
setMaxTextMessageSize
public void setMaxTextMessageSize(long maxTextMessageSize)
-