| 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.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.
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeType |
ClientConfig.getRuntimeType() |
| Constructor and Description |
|---|
ServiceFinderBinder(Class<T> contract,
Map<String,Object> applicationProperties,
RuntimeType runtimeType)
Create a new service finder injection binder.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
RuntimeType constrainedTo,
Set<Class<?>> registeredClasses,
org.glassfish.hk2.api.DynamicConfiguration dynamicConfiguration)
Bind all providers contained in
providerBag (classes and instances) using HK2 service locator. |
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
RuntimeType constrainedTo,
Set<Class<?>> registeredClasses,
org.glassfish.hk2.api.ServiceLocator locator)
Bind all providers contained in
providerBag (classes and instances) using HK2 service locator. |
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. |
| 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.
|
| Constructor and Description |
|---|
MessagingBinders.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,
jersey.repackaged.com.google.common.base.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-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.