T - the annotation this metadata is based off ofC - the endpoint configuration this is based off ofEndpointMetadataAnnotatedClientEndpointMetadatapublic abstract class AnnotatedEndpointMetadata<T extends java.lang.annotation.Annotation,C extends EndpointConfig> extends java.lang.Object implements EndpointMetadata
| Modifier and Type | Field | Description |
|---|---|---|
OnMessageBinaryCallable |
onBinary |
Callable for @
OnMessage annotation dealing with Binary Message Format |
OnMessageBinaryStreamCallable |
onBinaryStream |
Callable for @
OnMessage annotation dealing with Binary Streaming Message Format |
OnCloseCallable |
onClose |
Callable for @
OnClose annotation |
OnErrorCallable |
onError |
Callable for @
OnError annotation |
OnOpenCallable |
onOpen |
Callable for @
OnOpen annotation. |
OnMessagePongCallable |
onPong |
Callable for @
OnMessage annotation dealing with Pong Message Format |
OnMessageTextCallable |
onText |
Callable for @
OnMessage annotation dealing with Text Message Format |
OnMessageTextStreamCallable |
onTextStream |
Callable for @
OnMessage annotation dealing with Text Streaming Message Format |
| Modifier | Constructor | Description |
|---|---|---|
protected |
AnnotatedEndpointMetadata(java.lang.Class<?> endpointClass) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
customizeParamsOnClose(java.util.LinkedList<IJsrParamId> params) |
|
void |
customizeParamsOnError(java.util.LinkedList<IJsrParamId> params) |
|
void |
customizeParamsOnMessage(java.util.LinkedList<IJsrParamId> params) |
|
void |
customizeParamsOnOpen(java.util.LinkedList<IJsrParamId> params) |
|
abstract T |
getAnnotation() |
|
abstract C |
getConfig() |
|
DecoderMetadataSet |
getDecoders() |
|
EncoderMetadataSet |
getEncoders() |
|
java.lang.Class<?> |
getEndpointClass() |
|
long |
maxBinaryMessageSize() |
|
long |
maxTextMessageSize() |
|
void |
setMaxBinaryMessageSize(long maxBinaryMessageSize) |
|
void |
setMaxTextMessageSize(long maxTextMessageSize) |
public OnOpenCallable onOpen
OnOpen annotation.public OnCloseCallable onClose
OnClose annotationpublic OnErrorCallable onError
OnError annotationpublic OnMessageTextCallable onText
OnMessage annotation dealing with Text Message Formatpublic OnMessageTextStreamCallable onTextStream
OnMessage annotation dealing with Text Streaming Message Formatpublic OnMessageBinaryCallable onBinary
OnMessage annotation dealing with Binary Message Formatpublic OnMessageBinaryStreamCallable onBinaryStream
OnMessage annotation dealing with Binary Streaming Message Formatpublic OnMessagePongCallable onPong
OnMessage annotation dealing with Pong Message Formatprotected AnnotatedEndpointMetadata(java.lang.Class<?> endpointClass)
public void customizeParamsOnClose(java.util.LinkedList<IJsrParamId> params)
public void customizeParamsOnError(java.util.LinkedList<IJsrParamId> params)
public void customizeParamsOnMessage(java.util.LinkedList<IJsrParamId> params)
public void customizeParamsOnOpen(java.util.LinkedList<IJsrParamId> params)
public abstract T getAnnotation()
public abstract C getConfig()
public long maxBinaryMessageSize()
maxBinaryMessageSize in interface EndpointMetadatapublic long maxTextMessageSize()
maxTextMessageSize in interface EndpointMetadatapublic DecoderMetadataSet getDecoders()
getDecoders in interface EndpointMetadatapublic EncoderMetadataSet getEncoders()
getEncoders in interface EndpointMetadatapublic java.lang.Class<?> getEndpointClass()
getEndpointClass in interface EndpointMetadatapublic void setMaxBinaryMessageSize(long maxBinaryMessageSize)
public void setMaxTextMessageSize(long maxTextMessageSize)
Copyright © 1995–2018 Webtide. All rights reserved.