public interface RequestProcessor
| Modifier and Type | Method and Description |
|---|---|
RequestProcessor |
getParent()
Returns the next RequestProcessor in the invocation chain.
|
void |
service(WebRequest req,
WebResponse rsp)
Handles request of the HTTP client.
|
void service(WebRequest req, WebResponse rsp) throws java.lang.Exception
req - WebRequest object that contains the request the client made of
the ApiGatewayrsp - WebResponse object that contains the response the ApiGateway
returns to the clientjava.lang.Exception - if an input or output error occurs while the ApiGateway is
handling the HTTP requestRequestProcessor getParent()