Uses of Enum Class
com.janeirodigital.sai.httputils.LinkRelation
-
Uses of LinkRelation in com.janeirodigital.sai.httputils
Methods in com.janeirodigital.sai.httputils 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.Methods in com.janeirodigital.sai.httputils with parameters of type LinkRelationModifier and TypeMethodDescriptionstatic okhttp3.Headers
HttpUtils.addLinkRelationHeader
(LinkRelation type, String target) Add an HTTP Link Relation header oftype
with the providedtarget
.static okhttp3.Headers
HttpUtils.addLinkRelationHeader
(LinkRelation type, String target, okhttp3.Headers headers) Add an HTTP Link Relation header oftype
with the providedtarget
.static String
HttpUtils.getLinkRelationString
(LinkRelation type, String target) Get a formatted HTTP Link Relation string in compliance with RFC 8288