Class InputHandler

  • All Implemented Interfaces:
    ServerRestHandler, RestHandler<ResteasyReactiveRequestContext>

    public class InputHandler
    extends Object
    implements ServerRestHandler
    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.