Package | Description |
---|---|
org.glassfish.tyrus.core |
Core classes.
|
org.glassfish.tyrus.server |
Server implementation.
|
Modifier and Type | Method and Description |
---|---|
static AnnotatedEndpoint |
AnnotatedEndpoint.fromClass(Class<?> annotatedClass,
ComponentProviderService componentProvider,
boolean isServerEndpoint,
int incomingBufferSize,
ErrorCollector collector,
EndpointEventListener endpointEventListener)
Create
AnnotatedEndpoint from class. |
static AnnotatedEndpoint |
AnnotatedEndpoint.fromInstance(Object annotatedInstance,
ComponentProviderService componentProvider,
boolean isServerEndpoint,
int incomingBufferSize,
ErrorCollector collector)
Create
AnnotatedEndpoint from instance. |
<T> Object |
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> Object |
ComponentProviderService.getInstance(Class<T> c,
javax.websocket.Session session,
ErrorCollector collector)
Provide an instance of class which is coupled to
Session . |
Constructor and Description |
---|
TyrusServerConfiguration(Set<Class<?>> classes,
Set<Class<?>> dynamicallyAddedClasses,
Set<javax.websocket.server.ServerEndpointConfig> serverEndpointConfigs,
ErrorCollector errorCollector)
Create new
TyrusServerConfiguration . |
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.