Package org.glassfish.jersey.internal
Class RuntimeDelegateImpl
java.lang.Object
jakarta.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. Server injection binder should override this (using META-INF/services)
to provide an implementation that supports createEndpoint(jakarta.ws.rs.core.Application, java.lang.Class)
method.- Author:
- Jakub Podlesak, Marek Potociar, Martin Matula
-
Nested Class Summary
Nested classes/interfaces inherited from class jakarta.ws.rs.ext.RuntimeDelegate
RuntimeDelegate.HeaderDelegate<T extends Object> -
Field Summary
Fields inherited from class jakarta.ws.rs.ext.RuntimeDelegate
JAXRS_RUNTIME_DELEGATE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbootstrap(Application application, SeBootstrap.Configuration configuration) bootstrap(Class<? extends Application> applicationClass, SeBootstrap.Configuration configuration) <T> TcreateEndpoint(Application application, Class<T> endpointType) Methods inherited from class org.glassfish.jersey.internal.AbstractRuntimeDelegate
createEntityPartBuilder, createHeaderDelegate, createLinkBuilder, createResponseBuilder, createUriBuilder, createVariantListBuilderMethods inherited from class jakarta.ws.rs.ext.RuntimeDelegate
getInstance, setInstance
-
Constructor Details
-
RuntimeDelegateImpl
public RuntimeDelegateImpl()
-
-
Method Details
-
createEndpoint
public <T> T createEndpoint(Application application, Class<T> endpointType) throws IllegalArgumentException, UnsupportedOperationException - Specified by:
createEndpointin classRuntimeDelegate- Throws:
IllegalArgumentExceptionUnsupportedOperationException
-
createConfigurationBuilder
- Specified by:
createConfigurationBuilderin classRuntimeDelegate
-
bootstrap
public CompletionStage<SeBootstrap.Instance> bootstrap(Application application, SeBootstrap.Configuration configuration) - Specified by:
bootstrapin classRuntimeDelegate
-
bootstrap
public CompletionStage<SeBootstrap.Instance> bootstrap(Class<? extends Application> applicationClass, SeBootstrap.Configuration configuration) - Specified by:
bootstrapin classRuntimeDelegate
-