|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.ws.rs.ext.RuntimeDelegate
org.glassfish.jersey.internal.AbstractRuntimeDelegate
public abstract class AbstractRuntimeDelegate
An abstract implementation of RuntimeDelegate that
provides support common to the client and server.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.ws.rs.ext.RuntimeDelegate |
|---|
RuntimeDelegate.HeaderDelegate<T> |
| Field Summary |
|---|
| Fields inherited from class javax.ws.rs.ext.RuntimeDelegate |
|---|
JAXRS_RUNTIME_DELEGATE_PROPERTY |
| Constructor Summary | |
|---|---|
protected |
AbstractRuntimeDelegate(org.glassfish.hk2.api.ServiceLocator serviceLocator)
Initialization constructor. |
| Method Summary | ||
|---|---|---|
|
createHeaderDelegate(Class<T> type)
Obtain an instance of a RuntimeDelegate.HeaderDelegate for the supplied class. |
|
Link.Builder |
createLinkBuilder()
Create a new instance of a Link.Builder. |
|
Response.ResponseBuilder |
createResponseBuilder()
Create a new instance of a Response.ResponseBuilder. |
|
UriBuilder |
createUriBuilder()
Create a new instance of a UriBuilder. |
|
Variant.VariantListBuilder |
createVariantListBuilder()
Create a new instance of a Variant.VariantListBuilder. |
|
| Methods inherited from class javax.ws.rs.ext.RuntimeDelegate |
|---|
createEndpoint, getInstance, setInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractRuntimeDelegate(org.glassfish.hk2.api.ServiceLocator serviceLocator)
serviceLocator - HK2 service locator.| Method Detail |
|---|
public Variant.VariantListBuilder createVariantListBuilder()
RuntimeDelegateVariant.VariantListBuilder.
createVariantListBuilder in class RuntimeDelegateVariantListBuilder instance.Variant.VariantListBuilderpublic Response.ResponseBuilder createResponseBuilder()
RuntimeDelegateResponse.ResponseBuilder.
createResponseBuilder in class RuntimeDelegateResponseBuilder instance.Response.ResponseBuilderpublic UriBuilder createUriBuilder()
RuntimeDelegateUriBuilder.
createUriBuilder in class RuntimeDelegateUriBuilder instance.UriBuilderpublic Link.Builder createLinkBuilder()
RuntimeDelegateLink.Builder.
createLinkBuilder in class RuntimeDelegateLink.Builder instance.Link.Builderpublic <T> RuntimeDelegate.HeaderDelegate<T> createHeaderDelegate(Class<T> type)
RuntimeDelegateRuntimeDelegate.HeaderDelegate for the supplied class. An
implementation is required to support the following values for type:
CacheControl, Cookie,
EntityTag, Link,
NewCookie, MediaType
and java.util.Date.
createHeaderDelegate in class RuntimeDelegateT - header type.type - the class of the header.
HeaderDelegate for the supplied type.RuntimeDelegate.HeaderDelegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||