Interface RequestProcessor
- All Known Implementing Classes:
AbstractRequestProcessor, ActionInvoker, ApiGateway, Mapping
public interface RequestProcessor
-
Method Summary
Modifier and TypeMethodDescriptionReturns the next RequestProcessor in the invocation chain.voidservice(WebRequest req, WebResponse rsp) Handles request of the HTTP client.
-
Method Details
-
service
Handles request of the HTTP client.- Parameters:
req- WebRequest object that contains the request the client made of the ApiGatewayrsp- 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
-