public class ReferenceUtils extends Object
| Constructor and Description |
|---|
ReferenceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.JsonNode |
deserializeIntoTree(String content) |
static String |
getFragment(String uri) |
static String |
getRefName(String uri) |
static boolean |
isAnchor(String ref) |
static boolean |
isAnchorRef(String ref) |
static boolean |
isLocalRef(String ref) |
static boolean |
isLocalRefToComponents(String ref) |
static com.fasterxml.jackson.databind.JsonNode |
jsonPointerEvaluate(String fragment,
com.fasterxml.jackson.databind.JsonNode tree,
String uri) |
static com.fasterxml.jackson.databind.JsonNode |
parse(String absoluteUri,
List<AuthorizationValue> auths) |
static String |
readClasspath(String uri) |
static String |
readFile(String uri) |
static String |
readHttp(String uri,
List<AuthorizationValue> auths) |
static String |
readURI(String absoluteUri,
List<AuthorizationValue> auths) |
static String |
resolve(String uri,
String baseURI) |
static String |
toBaseURI(String uri) |
static String |
unescapePointer(String jsonPathElement) |
public static boolean isLocalRef(String ref)
public static boolean isLocalRefToComponents(String ref)
public static boolean isAnchorRef(String ref)
public static boolean isAnchor(String ref)
public static String readURI(String absoluteUri, List<AuthorizationValue> auths) throws Exception
Exceptionpublic static com.fasterxml.jackson.databind.JsonNode deserializeIntoTree(String content) throws Exception
Exceptionpublic static com.fasterxml.jackson.databind.JsonNode parse(String absoluteUri, List<AuthorizationValue> auths) throws Exception
Exceptionpublic static String readHttp(String uri, List<AuthorizationValue> auths) throws Exception
Exceptionpublic static com.fasterxml.jackson.databind.JsonNode jsonPointerEvaluate(String fragment, com.fasterxml.jackson.databind.JsonNode tree, String uri)
Copyright © 2022. All rights reserved.