Class RequestUtils
- java.lang.Object
-
- org.apache.sling.distribution.util.RequestUtils
-
public class RequestUtils extends java.lang.Object
Utility class for HTTP / distribution request related operations.
-
-
Constructor Summary
Constructors Constructor Description RequestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.URI
appendDistributionRequest(java.net.URI uri, DistributionRequest distributionRequest)
static DistributionRequest
fromServletRequest(HttpServletRequest request)
-
-
-
Method Detail
-
fromServletRequest
public static DistributionRequest fromServletRequest(HttpServletRequest request)
-
appendDistributionRequest
public static java.net.URI appendDistributionRequest(java.net.URI uri, DistributionRequest distributionRequest) throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
-