Interface RequestProcessor

All Known Implementing Classes:
AbstractRequestProcessor, ActionInvoker, ApiGateway, Mapping

public interface RequestProcessor
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the next RequestProcessor in the invocation chain.
    void
    Handles request of the HTTP client.
  • Method Details

    • service

      void service(WebRequest req, WebResponse rsp) throws Exception
      Handles request of the HTTP client.
      Parameters:
      req - WebRequest object that contains the request the client made of the ApiGateway
      rsp - WebResponse object that contains the response the ApiGateway returns to the client
      Throws:
      Exception - if an input or output error occurs while the ApiGateway is handling the HTTP request
    • getParent

      RequestProcessor getParent()
      Returns the next RequestProcessor in the invocation chain.
      Returns:
      parent processor