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
-
public class RuntimeDelegateImpl extends AbstractRuntimeDelegate
Default implementation of JAX-RSRuntimeDelegate
. TheRuntimeDelegate
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 supportscreateEndpoint(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 Constructor Description RuntimeDelegateImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<SeBootstrap.Instance>
bootstrap(Application application, SeBootstrap.Configuration configuration)
CompletionStage<SeBootstrap.Instance>
bootstrap(Class<? extends Application> applicationClass, SeBootstrap.Configuration configuration)
SeBootstrap.Configuration.Builder
createConfigurationBuilder()
<T> T
createEndpoint(Application application, Class<T> endpointType)
-
Methods inherited from class org.glassfish.jersey.internal.AbstractRuntimeDelegate
createEntityPartBuilder, createHeaderDelegate, createLinkBuilder, createResponseBuilder, createUriBuilder, createVariantListBuilder
-
Methods inherited from class jakarta.ws.rs.ext.RuntimeDelegate
getInstance, setInstance
-
-
-
-
Method Detail
-
createEndpoint
public <T> T createEndpoint(Application application, Class<T> endpointType) throws IllegalArgumentException, UnsupportedOperationException
- Specified by:
createEndpoint
in classRuntimeDelegate
- Throws:
IllegalArgumentException
UnsupportedOperationException
-
createConfigurationBuilder
public SeBootstrap.Configuration.Builder createConfigurationBuilder()
- Specified by:
createConfigurationBuilder
in classRuntimeDelegate
-
bootstrap
public CompletionStage<SeBootstrap.Instance> bootstrap(Application application, SeBootstrap.Configuration configuration)
- Specified by:
bootstrap
in classRuntimeDelegate
-
bootstrap
public CompletionStage<SeBootstrap.Instance> bootstrap(Class<? extends Application> applicationClass, SeBootstrap.Configuration configuration)
- Specified by:
bootstrap
in classRuntimeDelegate
-
-