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.HeadersOkHttpHelper.addLinkRelationHeader(LinkRelation type, String target) Add an HTTP Link Relation header oftypewith the providedtarget.static okhttp3.HeadersOkHttpHelper.addLinkRelationHeader(LinkRelation type, String target, okhttp3.Headers headers) Add an HTTP Link Relation header oftypewith the providedtarget.static StringOkHttpHelper.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 LinkRelationReturns 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 providedlinkRelationsmap of HTTP Link Relations