|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resteasy.util.Encode
public class Encode
Constructor Summary | |
---|---|
Encode()
|
Method Summary | |
---|---|
static MultivaluedMap<java.lang.String,java.lang.String> |
decode(MultivaluedMap<java.lang.String,java.lang.String> map)
decode an encoded map |
static java.lang.String |
decode(java.lang.String string)
|
static java.lang.String |
decodePath(java.lang.String path)
|
static MultivaluedMap<java.lang.String,java.lang.String> |
encode(MultivaluedMap<java.lang.String,java.lang.String> map)
|
static java.lang.String |
encodeFragment(java.lang.String value)
Keep encoded values "%..." and template parameters intact. |
static java.lang.String |
encodeFragmentAsIs(java.lang.String nameOrValue)
|
protected static java.lang.String |
encodeFromArray(java.lang.String segment,
java.lang.String[] encodingMap,
boolean encodePercent)
|
static java.lang.String |
encodeMatrixParam(java.lang.String value)
Keep encoded values "%..." and template parameters intact. |
static java.lang.String |
encodeNonCodes(java.lang.String string)
Encode '%' if it is not an encoding sequence |
static java.lang.String |
encodePath(java.lang.String value)
Keep encoded values "%...", matrix parameters, template parameters, and '/' characters intact. |
static java.lang.String |
encodePathAsIs(java.lang.String segment)
Encode via RFC 3986. |
static java.lang.String |
encodePathSaveEncodings(java.lang.String segment)
Keep any valid encodings from string i.e. |
static java.lang.String |
encodePathSegment(java.lang.String value)
Keep encoded values "%...", matrix parameters and template parameters intact. |
static java.lang.String |
encodeQueryParam(java.lang.String value)
Keep encoded values "%..." and template parameters intact. |
static java.lang.String |
encodeQueryParamAsIs(java.lang.String nameOrValue)
Encodes everything of a query parameter name or value. |
static java.lang.String |
encodeQueryParamSaveEncodings(java.lang.String segment)
Keep any valid encodings from string i.e. |
static java.lang.String |
encodeQueryString(java.lang.String value)
Keep encoded values "%..." and template parameters intact. |
static java.lang.String |
encodeValue(java.lang.String segment,
java.lang.String[] encoding)
Keep encoded values "%..." and template parameters intact i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Encode()
Method Detail |
---|
public static java.lang.String encodeQueryString(java.lang.String value)
public static java.lang.String encodePath(java.lang.String value)
public static java.lang.String encodePathSegment(java.lang.String value)
public static java.lang.String encodeFragment(java.lang.String value)
public static java.lang.String encodeMatrixParam(java.lang.String value)
public static java.lang.String encodeQueryParam(java.lang.String value)
public static java.lang.String decodePath(java.lang.String path)
public static java.lang.String encodeNonCodes(java.lang.String string)
string
-
public static java.lang.String encodeValue(java.lang.String segment, java.lang.String[] encoding)
segment
- encoding
-
public static java.lang.String encodePathAsIs(java.lang.String segment)
public static java.lang.String encodePathSaveEncodings(java.lang.String segment)
segment
-
public static java.lang.String encodeQueryParamAsIs(java.lang.String nameOrValue)
nameOrValue
-
public static java.lang.String encodeQueryParamSaveEncodings(java.lang.String segment)
segment
-
public static java.lang.String encodeFragmentAsIs(java.lang.String nameOrValue)
protected static java.lang.String encodeFromArray(java.lang.String segment, java.lang.String[] encodingMap, boolean encodePercent)
public static MultivaluedMap<java.lang.String,java.lang.String> decode(MultivaluedMap<java.lang.String,java.lang.String> map)
map
-
public static MultivaluedMap<java.lang.String,java.lang.String> encode(MultivaluedMap<java.lang.String,java.lang.String> map)
public static java.lang.String decode(java.lang.String string)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |