Interface RequestHandler


@Experimental @MinMuleVersion("4.10.0") public interface RequestHandler
Handler for an incoming HTTP request that allows to send the HTTP response asynchronously.
Since:
0.12.0
  • Method Details

    • handleRequest

      void handleRequest(HttpRequestContext requestContext, HttpResponseReadyCallback responseCallback)
      Called to handle an incoming HTTP request
      Parameters:
      requestContext - HTTP request content
      responseCallback - callback to call when the response content is ready.
    • getContextClassLoader

      default ClassLoader getContextClassLoader()
      Returns:
      the classloader for the artifact that owns this RequestHandler.