Class EagerFormParsingHandler

  • All Implemented Interfaces:
    HttpHandler

    public class EagerFormParsingHandler
    extends java.lang.Object
    implements HttpHandler
    Handler that eagerly parses form data. The request chain will pause while the data is being read, and then continue when the form data is fully passed.

    NOTE: This is not strictly compatible with servlet, as it removes the option for the user to parse the request themselves, however in practice this requirement is probably rare, and using this handler gives a significant performance advantage in that a thread is not blocked for the duration of the upload.

    Author:
    Stuart Douglas
    • Constructor Detail

      • EagerFormParsingHandler

        public EagerFormParsingHandler​(FormParserFactory formParserFactory)
      • EagerFormParsingHandler

        public EagerFormParsingHandler()
      • EagerFormParsingHandler

        public EagerFormParsingHandler​(HttpHandler next)