Uses of Enum Class
com.janeirodigital.shapetrees.core.enums.LinkRelation
Packages that use LinkRelation
Package
Description
Implementation of
client-side
shape tree validation using the OkHttp HTTP client for Java.
-
Uses of LinkRelation in com.janeirodigital.shapetrees.client.okhttp
Methods in com.janeirodigital.shapetrees.client.okhttp with parameters of type LinkRelationModifier and TypeMethodDescriptionstatic okhttp3.Headers
OkHttpHelper.addLinkRelationHeader
(LinkRelation type, String target) Add an HTTP Link Relation header oftype
with the providedtarget
.static okhttp3.Headers
OkHttpHelper.addLinkRelationHeader
(LinkRelation type, String target, okhttp3.Headers headers) Add an HTTP Link Relation header oftype
with the providedtarget
.static String
OkHttpHelper.getLinkRelationString
(LinkRelation type, String target) Get a formatted HTTP Link Relation string in compliance with RFC 8288 -
Uses of LinkRelation in com.janeirodigital.shapetrees.core.enums
Methods in com.janeirodigital.shapetrees.core.enums that return LinkRelationModifier and TypeMethodDescriptionstatic LinkRelation
Returns the enum constant of this class with the specified name.static LinkRelation[]
LinkRelation.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of LinkRelation in com.janeirodigital.shapetrees.core.helpers
Methods in com.janeirodigital.shapetrees.core.helpers with parameters of type LinkRelationModifier and TypeMethodDescriptionDocumentResponseHelper.getLinkRelation
(ResourceAttributes linkRelations, LinkRelation relation) Gets a single link relation value from the providedlinkRelations
map of HTTP Link Relations