Class PublisherResponseHandler
java.lang.Object
org.jboss.resteasy.reactive.server.handlers.PublisherResponseHandler
- All Implemented Interfaces:
ServerRestHandler,org.jboss.resteasy.reactive.spi.RestHandler<ResteasyReactiveRequestContext>
This handler is used to push streams of data to the client.
This handler is added to the chain in the
HandlerChainCustomizer.Phase.AFTER_METHOD_INVOKE phase and is essentially the terminal phase
of the handler chain, as no other handlers will be called after this one.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ResteasyReactiveRequestContext requestContext) voidsetStreamingResponseCustomizers(List<PublisherResponseHandler.StreamingResponseCustomizer> streamingResponseCustomizers)
-
Constructor Details
-
PublisherResponseHandler
public PublisherResponseHandler()
-
-
Method Details
-
setStreamingResponseCustomizers
public void setStreamingResponseCustomizers(List<PublisherResponseHandler.StreamingResponseCustomizer> streamingResponseCustomizers) -
handle
- Specified by:
handlein interfaceorg.jboss.resteasy.reactive.spi.RestHandler<ResteasyReactiveRequestContext>- Specified by:
handlein interfaceServerRestHandler- Throws:
Exception
-