| Package | Description |
|---|---|
| javax.ws.rs |
High-level interfaces and annotations used to create RESTful service
resources.
|
| javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
| org.glassfish.jersey |
Common Jersey core classes.
|
| org.glassfish.jersey.client |
Jersey client-side classes.
|
| org.glassfish.jersey.internal |
Common Jersey internal API classes.
|
| org.glassfish.jersey.internal.config |
Configuration factory to handle external properties from different config SPI implementations
|
| org.glassfish.jersey.internal.inject |
Common Jersey internal injection utility classes.
|
| org.glassfish.jersey.internal.util |
Common Jersey internal miscellaneous utility classes.
|
| org.glassfish.jersey.message.internal |
Common Jersey internal messaging classes.
|
| org.glassfish.jersey.model.internal |
Common Jersey internal model related classes and interfaces.
|
| org.glassfish.jersey.server |
Jersey server-side classes.
|
| Modifier and Type | Method and Description |
|---|---|
static RuntimeType |
RuntimeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeType[] |
RuntimeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeType |
Configuration.getRuntimeType()
Get the runtime type of this configuration context.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
CommonProperties.getValue(Map<String,?> properties,
RuntimeType runtime,
String propertyName,
Class<T> type)
Get the value of the specified property.
|
static <T> T |
CommonProperties.getValue(Map<String,?> properties,
RuntimeType runtime,
String propertyName,
T defaultValue)
Get the value of the specified property.
|
static <T> T |
CommonProperties.getValue(Map<String,?> properties,
RuntimeType runtime,
String propertyName,
T defaultValue,
Class<T> type)
Get the value of the specified property.
|
| Constructor and Description |
|---|
AbstractFeatureConfigurator(Class contract,
RuntimeType runtimeType)
Create a new configurator.
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeType |
ClientConfig.getRuntimeType() |
| Modifier and Type | Method and Description |
|---|---|
protected RuntimeType |
AbstractServiceFinderConfigurator.getRuntimeType()
Mainly aimed to provide runtime type to abstract classes which extends this finder
|
| Constructor and Description |
|---|
AbstractServiceFinderConfigurator(Class<T> contract,
RuntimeType runtimeType)
Create a new configurator.
|
AutoDiscoverableConfigurator(RuntimeType runtimeType)
Create a new configurator.
|
FeatureConfigurator(RuntimeType runtimeType) |
ServiceFinderBinder(Class<T> contract,
Map<String,Object> applicationProperties,
RuntimeType runtimeType)
Create a new service finder injection binder.
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeType |
SystemPropertiesConfigurationModel.getRuntimeType() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
RuntimeType constrainedTo,
Set<Class<?>> registeredClasses,
InjectionManager injectionManager)
Deprecated.
|
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
RuntimeType constrainedTo,
Set<Class<?>> registeredClasses,
InjectionManager injectionManager,
Collection<ComponentProvider> componentProviders)
Bind all providers contained in
providerBag (classes and instances) using injection manager. |
static boolean |
Providers.checkProviderRuntime(Class<?> component,
ContractProvider model,
RuntimeType runtimeConstraint,
boolean scanned,
boolean isResource)
Check the
component whether it is appropriate correctly configured for client or server
runtime. |
static InjectionManager |
Injections.createInjectionManager(RuntimeType type)
Creates an
InjectionManager without parent and initial binder. |
| Modifier and Type | Method and Description |
|---|---|
static String |
PropertiesHelper.getPropertyNameForRuntime(String key,
RuntimeType runtimeType)
Returns specific property value for given
RuntimeType. |
static <T> T |
PropertiesHelper.getValue(Map<String,?> properties,
RuntimeType runtimeType,
String key,
Class<T> type,
Map<String,String> legacyMap)
Returns value of a specified property.
|
static <T> T |
PropertiesHelper.getValue(Map<String,?> properties,
RuntimeType runtimeType,
String key,
T defaultValue,
Class<T> type,
Map<String,String> legacyMap)
Returns value of a specified property.
|
static <T> T |
PropertiesHelper.getValue(Map<String,?> properties,
RuntimeType runtimeType,
String key,
T defaultValue,
Map<String,String> legacyMap)
Return value of a specified property.
|
static boolean |
PropertiesHelper.isMetaInfServicesEnabled(Map<String,Object> properties,
RuntimeType runtimeType)
Determine whether
CommonProperties.METAINF_SERVICES_LOOKUP_DISABLE does not globally
disable META-INF/services lookup on client/server. |
| Constructor and Description |
|---|
MessageBodyProviders(Map<String,Object> applicationProperties,
RuntimeType runtimeType)
Create new message body providers injection binder.
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeType |
CommonConfig.getRuntimeType() |
| Constructor and Description |
|---|
CommonConfig(RuntimeType type,
Predicate<ContractProvider> registrationStrategy)
Create a new
RuntimeConfig instance. |
| Modifier and Type | Method and Description |
|---|---|
RuntimeType |
ResourceConfig.getRuntimeType() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
ServerProperties.getValue(Map<String,?> properties,
RuntimeType runtimeType,
String key,
T defaultValue,
Class<T> type)
Get the value of the specified property.
|
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.