Class 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 Detail

      • BlockingInputHandler

        public BlockingInputHandler()
    • Method Detail

      • configure

        public void configure​(org.jboss.resteasy.reactive.server.spi.RuntimeConfiguration configuration)
        Specified by:
        configure in interface org.jboss.resteasy.reactive.server.spi.RuntimeConfigurableServerRestHandler
      • handle

        public void handle​(org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext context)
                    throws Exception
        Specified by:
        handle in interface org.jboss.resteasy.reactive.spi.RestHandler<org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext>
        Specified by:
        handle in interface org.jboss.resteasy.reactive.server.spi.ServerRestHandler
        Throws:
        Exception