Interface HttpServerProcessor

  • All Known Implementing Classes:
    DefaultHttpServerProcessor, DefaultWebApplicationServer

    public interface HttpServerProcessor
    The HTTP Server Processor API.

    This API is defined as the main entry point for HTTP request processing.

    Author:
    Manfred Riem (mriem@manorrock.com)
    • Method Detail

      • isAsync

        default boolean isAsync()
        Check if this request is being processed asynchronously.
        Returns:
        true if it is, false otherwise.
      • process

        void process​(HttpServerRequest request,
                     HttpServerResponse response)
        Process the request.
        Parameters:
        request - the HTTP Server Request.
        response - the HTTP Server Response.