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 and Description
    `UriUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `checkUrl(SslRequired sslRequired, String url, String name)`
    `static MultivaluedHashMap<String,String>` | `decodeQueryString(String queryString)`
    `static String` | `getOrigin(String uri)`
    `static String` | `getOrigin(URI uri)`
    `static boolean` | `isOrigin(String url)`
    `static String` | `stripQueryParam(String url, String name)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UriUtils

          public UriUtils()

  - ### Method Detail

    - #### getOrigin

          public static String getOrigin(URI uri)

    - #### getOrigin

          public static String getOrigin(String uri)

    - #### isOrigin

          public static boolean isOrigin(String url)

    - #### decodeQueryString

          public static MultivaluedHashMap<String,String> decodeQueryString(String queryString)

    - #### stripQueryParam

          public static String stripQueryParam(String url,
                                               String name)

    - #### checkUrl

          public static void checkUrl(SslRequired sslRequired,
                                      String url,
                                      String name)
                               throws IllegalArgumentException

      Throws:
        `IllegalArgumentException`

Copyright © 2020 JBoss by Red Hat. All rights reserved.