ServerApplicationConfigs, if any, or deployed classes.
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private static final Logger | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public | TyrusServerConfiguration(Set<Class<?>>
classes to be included in this application instance. Can contain any combination of
annotated endpoints (see classes, Set<ServerEndpointConfig> ServerEndpoint). Cannot be null.List of instances of serverEndpointConfigs)ServerEndpointConfig to be deployed.Create new |
| public | TyrusServerConfiguration(Set<Class<?>>
classes to be included in this application instance. Can contain any combination
of annotated endpoints (see classes, Set<Class<?>> ServerEndpoint).dynamically deployed classes. See dynamicallyAddedClasses, Set<ServerEndpointConfig> ..List of instances of serverEndpointConfigs, ErrorCollector ServerEndpointConfig to be deployed.model errors are reported to this instance. Cannot be errorCollector)null.Create new |
| Modifier and Type | Method and Description |
|---|---|
| public Set | Returns: all the classes annotated withServerEndpoint annotation which should be deployed.is unused. scanned)Implements jakarta. Gets all the classes annotated with |
| public Set | Returns: all theServerEndpointConfig classes which should be deployed.is unused. scanned)Implements jakarta. Gets all the |
| private boolean |
| annotatedClasses | back to summary |
|---|---|
| private final Set<Class<?>> annotatedClasses | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| serverEndpointConfigs | back to summary |
|---|---|
| private final Set<ServerEndpointConfig> serverEndpointConfigs | |
| TyrusServerConfiguration | back to summary |
|---|---|
| public TyrusServerConfiguration(Set<Class<?>> classes, Set<ServerEndpointConfig> serverEndpointConfigs) Create new
| |
| TyrusServerConfiguration | back to summary |
|---|---|
| public TyrusServerConfiguration(Set<Class<?>> classes, Set<Class<?>> dynamicallyAddedClasses, Set<ServerEndpointConfig> serverEndpointConfigs, ErrorCollector errorCollector) Create new
| |
| getAnnotatedEndpointClasses | back to summary |
|---|---|
| public Set Implements jakarta. Gets all the classes annotated with | |
| getEndpointConfigs | back to summary |
|---|---|
| public Set Implements jakarta. Gets all the
| |
| isAbstract | back to summary |
|---|---|
| private boolean isAbstract(Class<?> clazz, ErrorCollector errorCollector) | |