Class InputHandler
java.lang.Object
org.jboss.resteasy.reactive.server.handlers.InputHandler
- All Implemented Interfaces:
ServerRestHandler
,RestHandler<ResteasyReactiveRequestContext>
Handler that reads data and sets up the input stream
By default this will attempt to buffer and use a fully in memory stream, to allow the request to stay on the IO thread. If the request is too large it will be delegated to an executor and a blocking stream used instead.
TODO: the stream implementation here could be a lot more efficient.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InputHandler
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceRestHandler<ResteasyReactiveRequestContext>
- Specified by:
handle
in interfaceServerRestHandler
- Throws:
Exception
-