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(java.lang.String method,
java.lang.String uri)
Create a request with given method and URI.
|
HttpServletRequest |
createRequest(java.lang.String method,
java.lang.String uri,
java.util.Map<java.lang.String,java.lang.Object> params)
Create a request with given method, URI and parameters.
|
HttpServletResponse |
createResponse(java.io.OutputStream out)
Create a response with given output stream.
|
java.lang.String |
getMD5(HttpServletResponse response)
Deprecated.
|
HttpServletRequest createRequest(java.lang.String method, java.lang.String uri)
method
- The request methoduri
- The uriHttpServletRequest createRequest(java.lang.String method, java.lang.String uri, java.util.Map<java.lang.String,java.lang.Object> params)
method
- The request methoduri
- The uriparams
- The map of request parametersHttpServletResponse createResponse(java.io.OutputStream out)
out
- The output stream@Deprecated java.lang.String getMD5(HttpServletResponse response)
response
- The responseCopyright © 2010 - 2020 Adobe. All Rights Reserved