Class AnnotatedServerEndpointMetadata
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,javax.websocket.server.ServerEndpointConfig>
-
- org.eclipse.jetty.websocket.jsr356.server.AnnotatedServerEndpointMetadata
-
- All Implemented Interfaces:
EndpointMetadata
,ServerEndpointMetadata
public class AnnotatedServerEndpointMetadata extends 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(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<IJsrParamId> params)
void
customizeParamsOnError(java.util.LinkedList<IJsrParamId> params)
void
customizeParamsOnMessage(java.util.LinkedList<IJsrParamId> params)
void
customizeParamsOnOpen(java.util.LinkedList<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(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<IJsrParamId> params)
- Overrides:
customizeParamsOnClose
in classAnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,javax.websocket.server.ServerEndpointConfig>
-
customizeParamsOnError
public void customizeParamsOnError(java.util.LinkedList<IJsrParamId> params)
- Overrides:
customizeParamsOnError
in classAnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,javax.websocket.server.ServerEndpointConfig>
-
customizeParamsOnOpen
public void customizeParamsOnOpen(java.util.LinkedList<IJsrParamId> params)
- Overrides:
customizeParamsOnOpen
in classAnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,javax.websocket.server.ServerEndpointConfig>
-
customizeParamsOnMessage
public void customizeParamsOnMessage(java.util.LinkedList<IJsrParamId> params)
- Overrides:
customizeParamsOnMessage
in classAnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,javax.websocket.server.ServerEndpointConfig>
-
getAnnotation
public javax.websocket.server.ServerEndpoint getAnnotation()
- Specified by:
getAnnotation
in classAnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,javax.websocket.server.ServerEndpointConfig>
-
getConfig
public AnnotatedServerEndpointConfig getConfig()
- Specified by:
getConfig
in interfaceServerEndpointMetadata
- Specified by:
getConfig
in classAnnotatedEndpointMetadata<javax.websocket.server.ServerEndpoint,javax.websocket.server.ServerEndpointConfig>
-
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interfaceServerEndpointMetadata
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-