2023-10-26 09:36:32 +03:00
|
|
|
### YamlMime:JavaType
|
|
|
|
uid: "com.azure.core.test.http.LocalTestServer.RequestHandler"
|
|
|
|
fullName: "com.azure.core.test.http.LocalTestServer.RequestHandler"
|
|
|
|
name: "LocalTestServer.RequestHandler"
|
|
|
|
nameWithType: "LocalTestServer.RequestHandler"
|
|
|
|
summary: "Handler that will be used to process requests."
|
|
|
|
syntax: "public static interface **LocalTestServer.RequestHandler**"
|
|
|
|
methods:
|
|
|
|
- uid: "com.azure.core.test.http.LocalTestServer.RequestHandler.handle(org.eclipse.jetty.server.Request,org.eclipse.jetty.server.Response,byte[])"
|
|
|
|
fullName: "com.azure.core.test.http.LocalTestServer.RequestHandler.handle(Request req, Response resp, byte[] requestBody)"
|
|
|
|
name: "handle(Request req, Response resp, byte[] requestBody)"
|
|
|
|
nameWithType: "LocalTestServer.RequestHandler.handle(Request req, Response resp, byte[] requestBody)"
|
|
|
|
summary: "Handles the request."
|
|
|
|
modifiers:
|
|
|
|
- "abstract"
|
|
|
|
parameters:
|
|
|
|
- description: "The request."
|
|
|
|
name: "req"
|
|
|
|
type: "<xref href=\"org.eclipse.jetty.server.Request?alt=org.eclipse.jetty.server.Request&text=Request\" data-throw-if-not-resolved=\"False\" />"
|
|
|
|
- description: "The response."
|
|
|
|
name: "resp"
|
|
|
|
type: "<xref href=\"org.eclipse.jetty.server.Response?alt=org.eclipse.jetty.server.Response&text=Response\" data-throw-if-not-resolved=\"False\" />"
|
|
|
|
- description: "The request body."
|
|
|
|
name: "requestBody"
|
|
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
|
|
syntax: "public abstract void handle(Request req, Response resp, byte[] requestBody)"
|
|
|
|
exceptions:
|
|
|
|
- description: "If an IO error occurs."
|
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
|
|
- description: "If an IO error occurs."
|
|
|
|
type: "<xref href=\"javax.servlet.ServletException?alt=javax.servlet.ServletException&text=ServletException\" data-throw-if-not-resolved=\"False\" />"
|
|
|
|
desc: "Handles the request."
|
|
|
|
type: "interface"
|
|
|
|
desc: "Handler that will be used to process requests."
|
|
|
|
metadata: {}
|
|
|
|
package: "com.azure.core.test.http"
|
2024-08-03 07:58:45 +03:00
|
|
|
artifact: com.azure:azure-core-test:1.26.2
|