public class RuntimeDelegateImpl extends AbstractRuntimeDelegate
RuntimeDelegate
that will be instantiated if all look up mechanisms
fail to find an instance.
A hardcoded reference to this class name occurs in the RuntimeDelegate
class present in the JAX-RS api jar.
RuntimeDelegate.HeaderDelegate<T>
JAXRS_RUNTIME_DELEGATE_PROPERTY
Constructor and Description |
---|
RuntimeDelegateImpl() |
Modifier and Type | Method and Description |
---|---|
<T> T |
createEndpoint(Application application,
java.lang.Class<T> endpointType)
Create a configured instance of the supplied endpoint type.
|
createHeaderDelegate, createResponseBuilder, createUriBuilder, createVariantListBuilder
getInstance, setInstance
public <T> T createEndpoint(Application application, java.lang.Class<T> endpointType) throws java.lang.IllegalArgumentException, java.lang.UnsupportedOperationException
RuntimeDelegate
createEndpoint
in class RuntimeDelegate
application
- the application configurationendpointType
- the type of endpoint instance to be created.java.lang.IllegalArgumentException
- if application is null or the
requested endpoint type is not supported.java.lang.UnsupportedOperationException
- if the implementation
supports no endpoint types.Copyright © 2016 Oracle Corporation. All Rights Reserved.