Class BlockingInputHandler
- java.lang.Object
-
- io.quarkus.resteasy.reactive.server.runtime.BlockingInputHandler
-
- All Implemented Interfaces:
org.jboss.resteasy.reactive.server.spi.RuntimeConfigurableServerRestHandler,org.jboss.resteasy.reactive.server.spi.ServerRestHandler,org.jboss.resteasy.reactive.spi.RestHandler<org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext>
public class BlockingInputHandler extends Object implements org.jboss.resteasy.reactive.server.spi.RuntimeConfigurableServerRestHandler
Handler that reads data and sets up the input stream and blocks until the data has been read. This is meant to be used only when the request processing has already been offloaded to a worker thread.
-
-
Constructor Summary
Constructors Constructor Description BlockingInputHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.jboss.resteasy.reactive.server.spi.RuntimeConfiguration configuration)voidhandle(org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext context)
-
-
-
Method Detail
-
configure
public void configure(org.jboss.resteasy.reactive.server.spi.RuntimeConfiguration configuration)
- Specified by:
configurein interfaceorg.jboss.resteasy.reactive.server.spi.RuntimeConfigurableServerRestHandler
-
handle
public void handle(org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext context) throws Exception- 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- Throws:
Exception
-
-