public class OAuth2Util extends Object
| Constructor and Description |
|---|
OAuth2Util() |
| Modifier and Type | Method and Description |
|---|---|
static Message |
addSessionHeader(Message msg,
HeaderField session) |
static Response |
createParameterizedJsonErrorResponse(Exchange exc,
ReusableJsonGenerator jsonGen,
String... params) |
static boolean |
isAbsoluteUri(String uri) |
static boolean |
isOpenIdScope(String scope) |
static String |
urldecode(String value) |
static String |
urlencode(String value) |
public static String urlencode(String value) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static String urldecode(String value) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static Message addSessionHeader(Message msg, HeaderField session)
public static boolean isOpenIdScope(String scope)
public static boolean isAbsoluteUri(String uri)
public static Response createParameterizedJsonErrorResponse(Exchange exc, ReusableJsonGenerator jsonGen, String... params) throws IOException
IOExceptionCopyright © 2022. All Rights Reserved.