public abstract static class HttpUtil.Helper
extends java.lang.Object
Constructor and Description |
---|
Helper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decodeUrl(java.lang.String href)
Decodes a URL from the URL encoding.
|
static java.lang.String |
encodeUrl(java.lang.String href)
Encodes a URL with proper URL encoding.
|
public static java.lang.String encodeUrl(java.lang.String href)
href
- the URL to encodepublic static java.lang.String decodeUrl(java.lang.String href)
href
- the URL to decode