Class SetResponseContentTypeHandler
java.lang.Object
org.keycloak.quarkus.runtime.integration.resteasy.SetResponseContentTypeHandler
- All Implemented Interfaces:
org.jboss.resteasy.reactive.server.spi.ServerRestHandler,org.jboss.resteasy.reactive.spi.RestHandler<org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext>
public class SetResponseContentTypeHandler
extends Object
implements org.jboss.resteasy.reactive.server.spi.ServerRestHandler
A ServerRestHandler that set the media type produced by a JAX-RS resource method.
The main reason behind this handler is to make the response media type available to DefaultSecurityHeadersProvider.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext requestContext)
-
Constructor Details
-
SetResponseContentTypeHandler
-
-
Method Details
-
handle
public void handle(org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext requestContext) - Specified by:
handlein interfaceorg.jboss.resteasy.reactive.spi.RestHandler<org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext>- Specified by:
handlein interfaceorg.jboss.resteasy.reactive.server.spi.ServerRestHandler
-