LocalTestServer.RequestHandler Interface
public static interface LocalTestServer.RequestHandler
Handler that will be used to process requests.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract void |
handle(Request req, Response resp, byte[] requestBody)
Handles the request. |
Method Details
handle
public abstract void handle(Request req, Response resp, byte[] requestBody)
Handles the request.
Parameters:
req
- The request.
resp
- The response.
requestBody
- The request body.
Throws:
- If an IO error occurs.
javax.servlet.ServletException
- If an IO error occurs.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java