| Package | Description |
|---|---|
| org.glassfish.tyrus.core |
| Modifier and Type | Method and Description |
|---|---|
static AnnotatedEndpoint |
AnnotatedEndpoint.fromClass(Class<?> annotatedClass,
ComponentProviderService componentProvider,
boolean isServerEndpoint,
ErrorCollector collector)
Create
AnnotatedEndpoint from class. |
static AnnotatedEndpoint |
AnnotatedEndpoint.fromInstance(Object annotatedInstance,
ComponentProviderService componentProvider,
boolean isServerEndpoint,
ErrorCollector collector)
Create
AnnotatedEndpoint from instance. |
<T> T |
ComponentProviderService.getCoderInstance(Class<T> c,
javax.websocket.Session session,
javax.websocket.EndpointConfig endpointConfig,
ErrorCollector collector)
Provide an instance of
Encoder or Decoder descendant which is coupled to Session. |
static <T> T |
ReflectionHelper.getInstance(Class<T> c,
ErrorCollector collector)
Creates an instance of
Class c using Class.newInstance(). |
<T> T |
ComponentProviderService.getInstance(Class<T> c,
javax.websocket.Session session,
ErrorCollector collector)
Provide an instance of class which is coupled to
Session. |
| Constructor and Description |
|---|
EndpointWrapper(Class<?> endpointClass,
javax.websocket.EndpointConfig configuration,
ComponentProviderService componentProvider,
BaseContainer container,
String contextPath,
ErrorCollector collector,
javax.websocket.server.ServerEndpointConfig.Configurator configurator)
Create
EndpointWrapper for class that extends Endpoint. |
EndpointWrapper(javax.websocket.Endpoint endpoint,
javax.websocket.EndpointConfig configuration,
ComponentProviderService componentProvider,
BaseContainer container,
String contextPath,
ErrorCollector collector,
javax.websocket.server.ServerEndpointConfig.Configurator configurator)
|
Copyright © 2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.