com.sun.jersey.core.spi.factory
Class AbstractRuntimeDelegate
java.lang.Object
javax.ws.rs.ext.RuntimeDelegate
com.sun.jersey.core.spi.factory.AbstractRuntimeDelegate
- Direct Known Subclasses:
- RuntimeDelegateImpl, RuntimeDelegateImpl
public abstract class AbstractRuntimeDelegate
- extends RuntimeDelegate
An abstract implementation of RuntimeDelegate
that
provides support common to the client and server.
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRuntimeDelegate
public AbstractRuntimeDelegate()
createVariantListBuilder
public Variant.VariantListBuilder createVariantListBuilder()
- Description copied from class:
RuntimeDelegate
- Create a new instance of a
Variant.VariantListBuilder
.
- Specified by:
createVariantListBuilder
in class RuntimeDelegate
- Returns:
- new VariantListBuilder instance
- See Also:
Variant.VariantListBuilder
createResponseBuilder
public Response.ResponseBuilder createResponseBuilder()
- Description copied from class:
RuntimeDelegate
- Create a new instance of a
Response.ResponseBuilder
.
- Specified by:
createResponseBuilder
in class RuntimeDelegate
- Returns:
- new ResponseBuilder instance
- See Also:
Response.ResponseBuilder
createUriBuilder
public UriBuilder createUriBuilder()
- Description copied from class:
RuntimeDelegate
- Create a new instance of a
UriBuilder
.
- Specified by:
createUriBuilder
in class RuntimeDelegate
- Returns:
- new UriBuilder instance
- See Also:
UriBuilder
createHeaderDelegate
public <T> RuntimeDelegate.HeaderDelegate<T> createHeaderDelegate(Class<T> type)
- Description copied from class:
RuntimeDelegate
- Obtain an instance of a HeaderDelegate for the supplied class. An
implementation is required to support the following values for type:
Cookie
, CacheControl
,
EntityTag
, NewCookie
,
MediaType
and java.util.Date
.
- Specified by:
createHeaderDelegate
in class RuntimeDelegate
- Parameters:
type
- the class of the header
- Returns:
- an instance of HeaderDelegate for the supplied type
Copyright © 2013 Oracle Corporation. All Rights Reserved.