public abstract class AbstractRuntimeDelegate extends RuntimeDelegate
RuntimeDelegate
that
provides support common to the client and server.RuntimeDelegate.HeaderDelegate<T>
JAXRS_RUNTIME_DELEGATE_PROPERTY
Constructor and Description |
---|
AbstractRuntimeDelegate() |
Modifier and Type | Method and Description |
---|---|
<T> RuntimeDelegate.HeaderDelegate<T> |
createHeaderDelegate(java.lang.Class<T> type)
Obtain an instance of a HeaderDelegate for the supplied class.
|
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 . |
createEndpoint, getInstance, setInstance
public Variant.VariantListBuilder createVariantListBuilder()
RuntimeDelegate
Variant.VariantListBuilder
.createVariantListBuilder
in class RuntimeDelegate
Variant.VariantListBuilder
public Response.ResponseBuilder createResponseBuilder()
RuntimeDelegate
Response.ResponseBuilder
.createResponseBuilder
in class RuntimeDelegate
Response.ResponseBuilder
public UriBuilder createUriBuilder()
RuntimeDelegate
UriBuilder
.createUriBuilder
in class RuntimeDelegate
UriBuilder
public <T> RuntimeDelegate.HeaderDelegate<T> createHeaderDelegate(java.lang.Class<T> type)
RuntimeDelegate
Cookie
, CacheControl
,
EntityTag
, NewCookie
,
MediaType
and java.util.Date
.createHeaderDelegate
in class RuntimeDelegate
type
- the class of the headerCopyright © 2016 Oracle Corporation. All Rights Reserved.