| Modifier and Type | Class and Description |
|---|---|
| public static interface | RuntimeDelegate.HeaderDelegate<
a JAX-RS type that corresponds to the value of a HTTP header. T>Defines the contract for a delegate that is responsible for
converting between the String form of a HTTP header and
the corresponding JAX-RS type |
| Modifier and Type | Field and Description |
|---|---|
| private static volatile RuntimeDelegate | |
| private static final String | |
| public static final String | JAXRS_RUNTIME_DELEGATE_PROPERTY
Name of the property identifying the |
| private static final Object | |
| private static ReflectPermission |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract < endpoint type. T> T | Returns: a configured instance of the requested type.the application configuration. application, Class<T> the type of endpoint instance to be created. endpointType)Create a configured instance of the supplied endpoint type. |
| public abstract < header type. T> RuntimeDelegate. | Returns: an instance ofHeaderDelegate for the supplied type.the class of the header. type)Obtain an instance of a |
| public abstract Link. | Returns: newLink.Builder instance.Create a new instance of a |
| public abstract Response. | Returns: newResponseBuilder instance.Create a new instance of a |
| public abstract UriBuilder | Returns: newUriBuilder instance.Create a new instance of a |
| public abstract Variant. | Returns: newVariantListBuilder instance.Create a new instance of a |
| private static RuntimeDelegate | Returns: an instance ofRuntimeDelegate.Obtain a |
| public static RuntimeDelegate | |
| public static void | setInstance(final RuntimeDelegate
the runtime delegate instance rd)Set the runtime delegate that will be used by JAX-RS classes. |
| cachedDelegate | back to summary |
|---|---|
| private static volatile RuntimeDelegate cachedDelegate | |
| JAXRS_DEFAULT_RUNTIME_DELEGATE | back to summary |
|---|---|
| private static final String JAXRS_DEFAULT_RUNTIME_DELEGATE | |
| JAXRS_RUNTIME_DELEGATE_PROPERTY | back to summary |
|---|---|
| public static final String JAXRS_RUNTIME_DELEGATE_PROPERTY Name of the property identifying the | |
| RD_LOCK | back to summary |
|---|---|
| private static final Object RD_LOCK | |
| suppressAccessChecksPermission | back to summary |
|---|---|
| private static ReflectPermission suppressAccessChecksPermission | |
| RuntimeDelegate | back to summary |
|---|---|
| protected RuntimeDelegate() Allows custom implementations to extend the | |
| createEndpoint | back to summary |
|---|---|
| public abstract <T> T createEndpoint(Application application, Class<T> endpointType) throws IllegalArgumentException, UnsupportedOperationException Create a configured instance of the supplied endpoint type. How the returned endpoint instance is published is dependent on the type of endpoint.
| |
| createHeaderDelegate | back to summary |
|---|---|
| public abstract <T> RuntimeDelegate. Obtain an instance of a
| |
| createLinkBuilder | back to summary |
|---|---|
| public abstract Link. Create a new instance of a
| |
| createResponseBuilder | back to summary |
|---|---|
| public abstract Response. Create a new instance of a
| |
| createUriBuilder | back to summary |
|---|---|
| public abstract UriBuilder createUriBuilder() Create a new instance of a
| |
| createVariantListBuilder | back to summary |
|---|---|
| public abstract Variant. Create a new instance of a
| |
| findDelegate | back to summary |
|---|---|
| private static RuntimeDelegate findDelegate() Obtain a
| |
| getInstance | back to summary |
|---|---|
| public static RuntimeDelegate getInstance() Obtain a The algorithm used to locate the RuntimeDelegate subclass to use consists of the following steps:
| |
| setInstance | back to summary |
|---|---|
| public static void setInstance(final RuntimeDelegate rd) Set the runtime delegate that will be used by JAX-RS classes. If this method
is not called prior to
| |
T.
| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: the newly created instance ofT.the string value. value)Parse the supplied value and create an instance of |
| public String | Returns: a String representation of the value.the value of type value)T.Convert the supplied value to a String. |
| fromString | back to summary |
|---|---|
| public T fromString(String value) Parse the supplied value and create an instance of
| |
| toString | back to summary |
|---|---|
| public String toString(T value) Convert the supplied value to a String.
| |