Package org.keycloak.common.util
Class UriUtils
- java.lang.Object
-
- org.keycloak.common.util.UriUtils
-
public class UriUtils extends Object
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description UriUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkUrl(SslRequired sslRequired, String url, String name)
static MultivaluedHashMap<String,String>
decodeQueryString(String queryString)
static String
getHost(String uri)
static String
getOrigin(String uri)
static String
getOrigin(URI uri)
static boolean
isOrigin(String url)
static String
stripQueryParam(String url, String name)
-
-
-
Method Detail
-
isOrigin
public static boolean isOrigin(String url)
-
decodeQueryString
public static MultivaluedHashMap<String,String> decodeQueryString(String queryString)
-
checkUrl
public static void checkUrl(SslRequired sslRequired, String url, String name) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-