public final class S3HttpUtils
extends java.lang.Object
Constructor and Description |
---|
S3HttpUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
urlDecode(java.lang.String value)
Decode a string for use in the path of a URL; uses URLDecoder.decode,
which decodes a string for use in the query portion of a URL.
|
static java.lang.String |
urlEncode(java.lang.String value,
boolean path)
Encode the URL String or part of URL
|
public static java.lang.String urlEncode(java.lang.String value, boolean path)
value
- Entire or part of the URLpath
- True if value is a pathpublic static java.lang.String urlDecode(java.lang.String value)
value
- The value to decode