|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.codec.net.URLCodec
org.springframework.security.oauth.common.OAuthCodec
public class OAuthCodec
Utility for parameter encoding according to the OAuth spec.
| Field Summary | |
|---|---|
protected static BitSet |
SAFE_CHARACTERS
|
| Fields inherited from class org.apache.commons.codec.net.URLCodec |
|---|
charset, ESCAPE_CHAR, WWW_FORM_URL |
| Method Summary | |
|---|---|
static String |
oauthDecode(String value)
Decode the specified value. |
static String |
oauthEncode(String value)
Encode the specified value. |
| Methods inherited from class org.apache.commons.codec.net.URLCodec |
|---|
decode, decode, decode, decode, decodeUrl, encode, encode, encode, encode, encodeUrl, getDefaultCharset, getEncoding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final BitSet SAFE_CHARACTERS
| Method Detail |
|---|
public static String oauthEncode(String value)
value - The value to encode.
public static String oauthDecode(String value)
throws org.apache.commons.codec.DecoderException
value - The value to decode.
org.apache.commons.codec.DecoderException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||