public class ServiceUtils
extends java.lang.Object
| Constructor and Description |
|---|
ServiceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.net.URL |
convertRequestToUrl(com.amazonaws.Request<?> request,
boolean removeLeadingSlashInResourcePath)
Converts the specified request object into a URL, containing all the
specified parameters, the specified request endpoint, etc.
|
public static java.net.URL convertRequestToUrl(com.amazonaws.Request<?> request,
boolean removeLeadingSlashInResourcePath)
request - The request to convert into a URL.removeLeadingSlashInResourcePath - Whether the leading slash in
resource-path should be removed before appending to the
endpoint.com.amazonaws.AmazonClientException - If the request cannot be converted to a
well formed URL.