public abstract class RuntimeDelegate extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuntimeDelegate.HeaderDelegate<T> |
| Modifier and Type | Field and Description |
|---|---|
static String |
JAXRS_RUNTIME_DELEGATE_PROPERTY |
| Modifier | Constructor and Description |
|---|---|
protected |
RuntimeDelegate() |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> T |
createEndpoint(Application application,
Class<T> endpointType) |
abstract <T> RuntimeDelegate.HeaderDelegate<T> |
createHeaderDelegate(Class<T> type) |
abstract Link.Builder |
createLinkBuilder() |
abstract Response.ResponseBuilder |
createResponseBuilder() |
abstract UriBuilder |
createUriBuilder() |
abstract Variant.VariantListBuilder |
createVariantListBuilder() |
static RuntimeDelegate |
getInstance() |
static void |
setInstance(RuntimeDelegate rd) |
public static final String JAXRS_RUNTIME_DELEGATE_PROPERTY
public static RuntimeDelegate getInstance()
public static void setInstance(RuntimeDelegate rd)
public abstract UriBuilder createUriBuilder()
public abstract Response.ResponseBuilder createResponseBuilder()
public abstract Variant.VariantListBuilder createVariantListBuilder()
public abstract <T> T createEndpoint(Application application, Class<T> endpointType) throws IllegalArgumentException, UnsupportedOperationException
public abstract <T> RuntimeDelegate.HeaderDelegate<T> createHeaderDelegate(Class<T> type) throws IllegalArgumentException
IllegalArgumentExceptionpublic abstract Link.Builder createLinkBuilder()
Copyright © 2018 The Apache Software Foundation. All rights reserved.