Package io.micronaut.jaxrs.common
Class MicronautRuntimeDelegate
java.lang.Object
jakarta.ws.rs.ext.RuntimeDelegate
io.micronaut.jaxrs.common.MicronautRuntimeDelegate
RuntimeDelegate implementation for JAX-RS.
- Since:
- 1.0
- Author:
- graemerocher
-
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
-
Method Summary
Modifier and TypeMethodDescriptionbootstrap
(Application application, SeBootstrap.Configuration configuration) bootstrap
(Class<? extends Application> clazz, SeBootstrap.Configuration configuration) <T> T
createEndpoint
(Application application, Class<T> endpointType) createEntityPartBuilder
(@NonNull String partName) createHeaderDelegate
(Class<T> type) Methods inherited from class jakarta.ws.rs.ext.RuntimeDelegate
getInstance, setInstance
-
Constructor Details
-
MicronautRuntimeDelegate
public MicronautRuntimeDelegate()
-
-
Method Details
-
createUriBuilder
- Specified by:
createUriBuilder
in classRuntimeDelegate
-
createResponseBuilder
- Specified by:
createResponseBuilder
in classRuntimeDelegate
-
createVariantListBuilder
- Specified by:
createVariantListBuilder
in classRuntimeDelegate
-
createEndpoint
public <T> T createEndpoint(Application application, Class<T> endpointType) throws IllegalArgumentException, UnsupportedOperationException - Specified by:
createEndpoint
in classRuntimeDelegate
- Throws:
IllegalArgumentException
UnsupportedOperationException
-
createHeaderDelegate
public <T> RuntimeDelegate.HeaderDelegate<T> createHeaderDelegate(Class<T> type) throws IllegalArgumentException - Specified by:
createHeaderDelegate
in classRuntimeDelegate
- Throws:
IllegalArgumentException
-
createLinkBuilder
- Specified by:
createLinkBuilder
in classRuntimeDelegate
-
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> clazz, SeBootstrap.Configuration configuration) - Specified by:
bootstrap
in classRuntimeDelegate
-
createEntityPartBuilder
public EntityPart.Builder createEntityPartBuilder(@NonNull @NonNull String partName) throws IllegalArgumentException - Specified by:
createEntityPartBuilder
in classRuntimeDelegate
- Throws:
IllegalArgumentException
-