public interface RequestResponseFactory
RequestResponseFactory
helps in creating custom
HttpServletRequest
and HttpServletResponse
objects for use in Content Sync update handlers.AbstractSlingResourceUpdateHandler
Modifier and Type | Method and Description |
---|---|
HttpServletRequest |
createRequest(String method,
String uri)
Create a request with given method and URI.
|
HttpServletRequest |
createRequest(String method,
String uri,
Map<String,Object> params)
Create a request with given method, URI and parameters.
|
HttpServletResponse |
createResponse(OutputStream out)
Create a response with given output stream.
|
String |
getMD5(HttpServletResponse response)
Deprecated.
|
HttpServletRequest createRequest(String method, String uri)
method
- The request methoduri
- The uriHttpServletRequest createRequest(String method, String uri, Map<String,Object> params)
method
- The request methoduri
- The uriparams
- The map of request parametersHttpServletResponse createResponse(OutputStream out)
out
- The output stream@Deprecated String getMD5(HttpServletResponse response)
response
- The responseCopyright © 2010 - 2020 Adobe. All Rights Reserved