Package com.nimbusds.oauth2.sdk.util
Class ResourceUtils
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.util.ResourceUtils
-
public final class ResourceUtils extends Object
Resource server URI utilities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isValidResourceURI(URI resourceURI)
Returnstrue
if the specified resource URI is valid.
-
-
-
Method Detail
-
isValidResourceURI
public static boolean isValidResourceURI(URI resourceURI)
Returnstrue
if the specified resource URI is valid.- Parameters:
resourceURI
- The resource URI. Must not benull
.- Returns:
true
if the resource URI is valid,false
if the URI is not absolute or has a query or fragment.
-
-