Package org.glassfish.jersey.internal
Class RuntimeDelegateImpl
java.lang.Object
javax.ws.rs.ext.RuntimeDelegate
org.glassfish.jersey.internal.AbstractRuntimeDelegate
org.glassfish.jersey.internal.RuntimeDelegateImpl
Default implementation of JAX-RS
RuntimeDelegate
.
The RuntimeDelegate
class looks for the implementations registered
in META-INF/services. If no such implementation is found, this one is picked
as the default. Server injection binder should override this (using META-INF/services)
to provide an implementation that supports createEndpoint(javax.ws.rs.core.Application, java.lang.Class)
method.-
Nested Class Summary
Nested classes/interfaces inherited from class javax.ws.rs.ext.RuntimeDelegate
javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<T>
-
Field Summary
Fields inherited from class javax.ws.rs.ext.RuntimeDelegate
JAXRS_RUNTIME_DELEGATE_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
createEndpoint
(javax.ws.rs.core.Application application, Class<T> endpointType) Methods inherited from class org.glassfish.jersey.internal.AbstractRuntimeDelegate
createHeaderDelegate, createLinkBuilder, createResponseBuilder, createUriBuilder, createVariantListBuilder
Methods inherited from class javax.ws.rs.ext.RuntimeDelegate
getInstance, setInstance
-
Constructor Details
-
RuntimeDelegateImpl
public RuntimeDelegateImpl()
-
-
Method Details
-
createEndpoint
public <T> T createEndpoint(javax.ws.rs.core.Application application, Class<T> endpointType) throws IllegalArgumentException, UnsupportedOperationException - Specified by:
createEndpoint
in classjavax.ws.rs.ext.RuntimeDelegate
- Throws:
IllegalArgumentException
UnsupportedOperationException
-