| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final Pattern | |
| private static final String[] | |
| private static final Pattern | |
| private static final Pattern | |
| private static final String[] | |
| private static final String[] | |
| private static final String[] | |
| private static final String[] | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static MultivaluedHashMap | |
| public static MultivaluedHashMap | |
| public static String | |
| private static String | |
| public static String | |
| private static String | |
| public static MultivaluedHashMap | |
| public static String | |
| public static String | |
| public static String | encodeFragmentNotTemplateParameters(String value)
Keep encoded values "%..." but not the template parameters. |
| protected static String | |
| public static String | |
| public static String | |
| public static String | encodePath(String value)
Keep encoded values "%...", matrix parameters, template parameters, and '/' characters intact. |
| public static String | |
| public static String | encodePathSaveEncodings(String segment)
Keep any valid encodings from string i.e. keep "%2D" but don't keep "%p" |
| public static String | encodePathSegment(String value)
Keep encoded values "%...", matrix parameters and template parameters intact. |
| public static String | |
| public static String | encodePathSegmentSaveEncodings(String segment)
Keep any valid encodings from string i.e. keep "%2D" but don't keep "%p" |
| public static String | |
| public static String | |
| public static String | encodeQueryParamSaveEncodings(String segment)
Keep any valid encodings from string i.e. keep "%2D" but don't keep "%p" |
| public static String | |
| public static String | encodeQueryStringNotTemplateParameters(String value)
Keep encoded values "%..." but not the template parameters. |
| public static String | encodeValue(String segment, String[] encoding)
Keep encoded values "%..." and template parameters intact i.e. "{x}" |
| public static String | |
| public static boolean | |
| public static String | |
| public static String |
| encodedChars | back to summary |
|---|---|
| private static final Pattern encodedChars | |
| encodedCharsMulti | back to summary |
|---|---|
| private static final Pattern encodedCharsMulti | |
| matrixParameterEncoding | back to summary |
|---|---|
| private static final String[] matrixParameterEncoding | |
| nonCodes | back to summary |
|---|---|
| private static final Pattern nonCodes | |
| PARAM_REPLACEMENT | back to summary |
|---|---|
| private static final Pattern PARAM_REPLACEMENT | |
| pathEncoding | back to summary |
|---|---|
| private static final String[] pathEncoding | |
| pathSegmentEncoding | back to summary |
|---|---|
| private static final String[] pathSegmentEncoding | |
| queryNameValueEncoding | back to summary |
|---|---|
| private static final String[] queryNameValueEncoding | |
| queryStringEncoding | back to summary |
|---|---|
| private static final String[] queryStringEncoding | |
| UTF_8 | back to summary |
|---|---|
| private static final String UTF_8 | |
| Encode | back to summary |
|---|---|
| public Encode() | |
| decode | back to summary |
|---|---|
| public static MultivaluedHashMap decode an encoded map | |
| decode | back to summary |
|---|---|
| public static MultivaluedHashMap decode an encoded map | |
| decode | back to summary |
|---|---|
| public static String decode(String string) | |
| decodeBytes | back to summary |
|---|---|
| private static String decodeBytes(String enc, CharsetDecoder decoder) | |
| decodePath | back to summary |
|---|---|
| public static String decodePath(String path) | |
| encode | back to summary |
|---|---|
| private static String encode(int zhar, String[] encodingMap) | |
| encode | back to summary |
|---|---|
| public static MultivaluedHashMap | |
| encodeFragment | back to summary |
|---|---|
| public static String encodeFragment(String value) Keep encoded values "%..." and template parameters intact. | |
| encodeFragmentAsIs | back to summary |
|---|---|
| public static String encodeFragmentAsIs(String nameOrValue) | |
| encodeFragmentNotTemplateParameters | back to summary |
|---|---|
| public static String encodeFragmentNotTemplateParameters(String value) Keep encoded values "%..." but not the template parameters. | |
| encodeFromArray | back to summary |
|---|---|
| protected static String encodeFromArray(String segment, String[] encodingMap, boolean encodePercent) | |
| encodeMatrixParam | back to summary |
|---|---|
| public static String encodeMatrixParam(String value) Keep encoded values "%..." and template parameters intact. | |
| encodeNonCodes | back to summary |
|---|---|
| public static String encodeNonCodes(String string) Encode '%' if it is not an encoding sequence | |
| encodePath | back to summary |
|---|---|
| public static String encodePath(String value) Keep encoded values "%...", matrix parameters, template parameters, and '/' characters intact. | |
| encodePathAsIs | back to summary |
|---|---|
| public static String encodePathAsIs(String segment) Encode via RFC 3986. PCHAR is allowed allong with '/' unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" pchar = unreserved / pct-encoded / sub-delims / ":" / "@" | |
| encodePathSaveEncodings | back to summary |
|---|---|
| public static String encodePathSaveEncodings(String segment) Keep any valid encodings from string i.e. keep "%2D" but don't keep "%p" | |
| encodePathSegment | back to summary |
|---|---|
| public static String encodePathSegment(String value) Keep encoded values "%...", matrix parameters and template parameters intact. | |
| encodePathSegmentAsIs | back to summary |
|---|---|
| public static String encodePathSegmentAsIs(String segment) Encode via RFC 3986. PCHAR is allowed allong with '/' unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" pchar = unreserved / pct-encoded / sub-delims / ":" / "@" | |
| encodePathSegmentSaveEncodings | back to summary |
|---|---|
| public static String encodePathSegmentSaveEncodings(String segment) Keep any valid encodings from string i.e. keep "%2D" but don't keep "%p" | |
| encodeQueryParam | back to summary |
|---|---|
| public static String encodeQueryParam(String value) Keep encoded values "%..." and template parameters intact. | |
| encodeQueryParamAsIs | back to summary |
|---|---|
| public static String encodeQueryParamAsIs(String nameOrValue) Encodes everything of a query parameter name or value. | |
| encodeQueryParamSaveEncodings | back to summary |
|---|---|
| public static String encodeQueryParamSaveEncodings(String segment) Keep any valid encodings from string i.e. keep "%2D" but don't keep "%p" | |
| encodeQueryString | back to summary |
|---|---|
| public static String encodeQueryString(String value) Keep encoded values "%..." and template parameters intact. | |
| encodeQueryStringNotTemplateParameters | back to summary |
|---|---|
| public static String encodeQueryStringNotTemplateParameters(String value) Keep encoded values "%..." but not the template parameters. | |
| encodeValue | back to summary |
|---|---|
| public static String encodeValue(String segment, String[] encoding) Keep encoded values "%..." and template parameters intact i.e. "{x}" | |
| pathParamReplacement | back to summary |
|---|---|
| public static String pathParamReplacement(String segment, List<String> params) | |
| savePathParams | back to summary |
|---|---|
| public static boolean savePathParams(String segment, StringBuilder newSegment, List<String> params) | |
| urlDecode | back to summary |
|---|---|
public static String urlDecode(String string)
| |
| urlEncode | back to summary |
|---|---|
public static String urlEncode(String string)
| |