| Package | Description |
|---|---|
| org.glassfish.tyrus.core |
Core classes.
|
| org.glassfish.tyrus.core.monitoring |
Monitoring interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
static AnnotatedEndpoint |
AnnotatedEndpoint.fromClass(java.lang.Class<?> annotatedClass,
ComponentProviderService componentProvider,
boolean isServerEndpoint,
int incomingBufferSize,
ErrorCollector collector,
EndpointEventListener endpointEventListener)
Create
AnnotatedEndpoint from class. |
static AnnotatedEndpoint |
AnnotatedEndpoint.fromClass(java.lang.Class<?> annotatedClass,
ComponentProviderService componentProvider,
boolean isServerEndpoint,
int incomingBufferSize,
ErrorCollector collector,
EndpointEventListener endpointEventListener,
java.util.Set<Extension> extensions)
Create
AnnotatedEndpoint from class. |
| Constructor and Description |
|---|
TyrusEndpointWrapper(java.lang.Class<? extends Endpoint> endpointClass,
EndpointConfig configuration,
ComponentProviderService componentProvider,
WebSocketContainer container,
java.lang.String contextPath,
ServerEndpointConfig.Configurator configurator,
TyrusEndpointWrapper.SessionListener sessionListener,
ClusterContext clusterContext,
EndpointEventListener endpointEventListener,
java.lang.Boolean parallelBroadcastEnabled)
Create
TyrusEndpointWrapper for class that extends Endpoint. |
TyrusEndpointWrapper(Endpoint endpoint,
EndpointConfig configuration,
ComponentProviderService componentProvider,
WebSocketContainer container,
java.lang.String contextPath,
ServerEndpointConfig.Configurator configurator,
TyrusEndpointWrapper.SessionListener sessionListener,
ClusterContext clusterContext,
EndpointEventListener endpointEventListener,
java.lang.Boolean parallelBroadcastEnabled)
|
| Modifier and Type | Field and Description |
|---|---|
static EndpointEventListener |
EndpointEventListener.NO_OP
An instance of @EndpointEventListener that does not do anything.
|
| Modifier and Type | Method and Description |
|---|---|
EndpointEventListener |
ApplicationEventListener.onEndpointRegistered(java.lang.String endpointPath,
java.lang.Class<?> endpointClass)
Called when an endpoint has been registered.
|
Copyright © 2012–2020 Oracle Corporation. All rights reserved.