| Package | Description |
|---|---|
| org.glassfish.tyrus.core |
Core classes.
|
| 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,
Session session,
EndpointConfig endpointConfig,
ErrorCollector collector)
|
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,
Session session,
ErrorCollector collector)
Provide an instance of class which is coupled to
Session. |
Copyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.