public class Encoder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
IS_FRAGMENT |
protected static boolean |
IS_NOT_FRAGMENT |
protected static boolean |
IS_NOT_PATH |
protected static boolean |
IS_NOT_USERINFO |
protected static boolean |
IS_PATH |
protected static boolean |
IS_USERINFO |
protected Charset |
outputEncoding |
| Modifier and Type | Method and Description |
|---|---|
String |
encodeFragment(String input) |
String |
encodePath(String input) |
protected String |
encodeQueryElement(String input) |
String |
encodeQueryParameters(UrlParameterMultimap queryParametersMultimap) |
String |
encodeUserInfo(String input) |
protected String |
urlEncode(String input,
boolean isPath,
boolean isFragment,
boolean isUserInfo) |
protected static final boolean IS_PATH
protected static final boolean IS_NOT_PATH
protected static final boolean IS_FRAGMENT
protected static final boolean IS_NOT_FRAGMENT
protected static final boolean IS_USERINFO
protected static final boolean IS_NOT_USERINFO
protected final Charset outputEncoding
public Encoder(Charset outputEncoding)
public String encodeQueryParameters(UrlParameterMultimap queryParametersMultimap)
Copyright © 2016. All rights reserved.