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 |
|---|---|
javax.servlet.http.HttpServletRequest |
createRequest(java.lang.String method,
java.lang.String uri)
Create a request with given method and URI.
|
javax.servlet.http.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.
|
javax.servlet.http.HttpServletResponse |
createResponse(java.io.OutputStream out)
Create a response with given output stream.
|
java.lang.String |
getMD5(javax.servlet.http.HttpServletResponse response)
Deprecated.
|
javax.servlet.http.HttpServletRequest createRequest(java.lang.String method,
java.lang.String uri)
method - The request methoduri - The urijavax.servlet.http.HttpServletRequest 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 parametersjavax.servlet.http.HttpServletResponse createResponse(java.io.OutputStream out)
out - The output stream@Deprecated java.lang.String getMD5(javax.servlet.http.HttpServletResponse response)
response - The responseCopyright © 2010 - 2023 Adobe. All Rights Reserved