Class VariableProducesHandler
java.lang.Object
org.jboss.resteasy.reactive.server.handlers.VariableProducesHandler
- All Implemented Interfaces:
ServerRestHandler,org.jboss.resteasy.reactive.spi.RestHandler<ResteasyReactiveRequestContext>
Handler that negotiates the content type for endpoints that
have multiple produces types, or for whatever reason can't have
their writer list and media type determined at build time.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVariableProducesHandler(org.jboss.resteasy.reactive.common.util.ServerMediaType mediaTypeList, ServerSerialisers serialisers) -
Method Summary
-
Field Details
-
EMPTY
public static final jakarta.ws.rs.ext.MessageBodyWriter[] EMPTY
-
-
Constructor Details
-
VariableProducesHandler
public VariableProducesHandler(org.jboss.resteasy.reactive.common.util.ServerMediaType mediaTypeList, ServerSerialisers serialisers)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceorg.jboss.resteasy.reactive.spi.RestHandler<ResteasyReactiveRequestContext>- Specified by:
handlein interfaceServerRestHandler- Throws:
Exception
-