Interface RequestResponseFactory
Deprecated.
The
RequestResponseFactory helps in creating custom
HttpServletRequest and HttpServletResponse
objects for use in Content Sync update handlers.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateRequest(String method, String uri) Deprecated.Create a request with given method and URI.Deprecated.Create a request with given method, URI and parameters.Deprecated.Create a response with given output stream.getMD5(HttpServletResponse response) Deprecated.
-
Method Details
-
createRequest
Deprecated.Create a request with given method and URI.- Parameters:
method- The request methoduri- The uri- Returns:
- The request object
-
createRequest
Deprecated.Create a request with given method, URI and parameters.- Parameters:
method- The request methoduri- The uriparams- The map of request parameters- Returns:
- The request object
-
createResponse
Deprecated.Create a response with given output stream.- Parameters:
out- The output stream- Returns:
- The response object
-
getMD5
Deprecated.Get MD5 hash for the response's body.- Parameters:
response- The response- Returns:
- MD5 hash of response body
-
org.apache.sling.api.request.builder.Buildersinstead