Class IanaLinkRelations

java.lang.Object
org.springframework.hateoas.IanaLinkRelations

public final class IanaLinkRelations extends Object
Capture standard IANA-based link relations.
Since:
1.0
Author:
Greg Turnquist, Roland Kulcsár, Oliver Gierke, Vedran Pavic
  • Field Details

    • ABOUT_VALUE

      public static final String ABOUT_VALUE
      A String equivalent of ABOUT.
      See Also:
    • ABOUT

      public static final LinkRelation ABOUT
      Refers to a resource that is the subject of the link's context.
    • ALTERNATE_VALUE

      public static final String ALTERNATE_VALUE
      A String equivalent of ALTERNATE.
      See Also:
    • ALTERNATE

      public static final LinkRelation ALTERNATE
      Refers to a substitute for this context
    • APPENDIX_VALUE

      public static final String APPENDIX_VALUE
      A String equivalent of APPENDIX.
      See Also:
    • APPENDIX

      public static final LinkRelation APPENDIX
      Refers to an appendix.
    • ARCHIVES_VALUE

      public static final String ARCHIVES_VALUE
      A String equivalent of ARCHIVES.
      See Also:
    • ARCHIVES

      public static final LinkRelation ARCHIVES
      Refers to a collection of records, documents, or other materials of historical interest.
    • AUTHOR_VALUE

      public static final String AUTHOR_VALUE
      A String equivalent of AUTHOR.
      See Also:
    • AUTHOR

      public static final LinkRelation AUTHOR
      Refers to the context's author.
    • BLOCKED_BY_VALUE

      public static final String BLOCKED_BY_VALUE
      A String equivalent of BLOCKED_BY.
      See Also:
    • BLOCKED_BY

      public static final LinkRelation BLOCKED_BY
      Identifies the entity that blocks access to a resource following receipt of a legal demand.
    • BOOKMARK_VALUE

      public static final String BOOKMARK_VALUE
      A String equivalent of BOOKMARK.
      See Also:
    • BOOKMARK

      public static final LinkRelation BOOKMARK
      Gives a permanent link to use for bookmarking purposes.
    • CANONICAL_VALUE

      public static final String CANONICAL_VALUE
      A String equivalent of CANONICAL.
      See Also:
    • CANONICAL

      public static final LinkRelation CANONICAL
      Designates the preferred version of a resource (the IRI and its contents).
    • CHAPTER_VALUE

      public static final String CHAPTER_VALUE
      A String equivalent of CHAPTER.
      See Also:
    • CHAPTER

      public static final LinkRelation CHAPTER
      Refers to a chapter in a collection of resources.
    • CITE_AS_VALUE

      public static final String CITE_AS_VALUE
      A String equivalent of CITE_AS.
      See Also:
    • CITE_AS

      public static final LinkRelation CITE_AS
      Indicates that the link target is preferred over the link context for the purpose of referencing.
    • COLLECTION_VALUE

      public static final String COLLECTION_VALUE
      A String equivalent of COLLECTION.
      See Also:
    • COLLECTION

      public static final LinkRelation COLLECTION
      The target IRI points to a resource which represents the collection resource for the context IRI.
    • CONTENTS_VALUE

      public static final String CONTENTS_VALUE
      A String equivalent of CONTENTS.
      See Also:
    • CONTENTS

      public static final LinkRelation CONTENTS
      Refers to a table of contents.
    • CONVERTED_FROM_VALUE

      public static final String CONVERTED_FROM_VALUE
      A String equivalent of CONVERTED_FROM.
      See Also:
    • CONVERTED_FROM

      public static final LinkRelation CONVERTED_FROM
      The document linked to was later converted to the document that contains this link relation. For example, an RFC can have a link to the Internet-Draft that became the RFC; in that case, the link relation would be "convertedFrom".
    • CREATE_FORM_VALUE

      public static final String CREATE_FORM_VALUE
      A String equivalent of CREATE_FORM.
      See Also:
    • CREATE_FORM

      public static final LinkRelation CREATE_FORM
      The target IRI points to a resource where a submission form can be obtained.
    • CURRENT_VALUE

      public static final String CURRENT_VALUE
      A String equivalent of CURRENT.
      See Also:
    • CURRENT

      public static final LinkRelation CURRENT
      Refers to a resource containing the most recent item(s) in a collection of resources.
    • DESCRIBED_BY_VALUE

      public static final String DESCRIBED_BY_VALUE
      A String equivalent of DESCRIBED_BY.
      See Also:
    • DESCRIBED_BY

      public static final LinkRelation DESCRIBED_BY
      Refers to a resource providing information about the link's context.
    • DESCRIBES_VALUE

      public static final String DESCRIBES_VALUE
      A String equivalent of DESCRIBES.
      See Also:
    • DESCRIBES

      public static final LinkRelation DESCRIBES
      The relationship A 'describes' B asserts that resource A provides a description of resource B. There are no constraints on the format or representation of either A or B, neither are there any further constraints on either resource.
    • DISCLOSURE_VALUE

      public static final String DISCLOSURE_VALUE
      A String equivalent of DISCLOSURE.
      See Also:
    • DISCLOSURE

      public static final LinkRelation DISCLOSURE
      Refers to a list of patent disclosures made with respect to material for which 'disclosure' relation is specified.
    • DNS_PREFETCH_VALUE

      public static final String DNS_PREFETCH_VALUE
      A String equivalent of DNS_PREFETCH.
      See Also:
    • DNS_PREFETCH

      public static final LinkRelation DNS_PREFETCH
      Used to indicate an origin that will be used to fetch required resources for the link context, and that the user agent ought to resolve as early as possible.
    • DUPLICATE_VALUE

      public static final String DUPLICATE_VALUE
      A String equivalent of DUPLICATE.
      See Also:
    • DUPLICATE

      public static final LinkRelation DUPLICATE
      Refers to a resource whose available representations are byte-for-byte identical with the corresponding representations of the context IRI.
    • EDIT_VALUE

      public static final String EDIT_VALUE
      A String equivalent of EDIT.
      See Also:
    • EDIT

      public static final LinkRelation EDIT
      Refers to a resource that can be used to edit the link's context.
    • EDIT_FORM_VALUE

      public static final String EDIT_FORM_VALUE
      A String equivalent of EDIT_FORM.
      See Also:
    • EDIT_FORM

      public static final LinkRelation EDIT_FORM
      The target IRI points to a resource where a submission form for editing associated resource can be obtained.
    • EDIT_MEDIA_VALUE

      public static final String EDIT_MEDIA_VALUE
      A String equivalent of EDIT_MEDIA.
      See Also:
    • EDIT_MEDIA

      public static final LinkRelation EDIT_MEDIA
      Refers to a resource that can be used to edit media associated with the link's context.
    • ENCLOSURE_VALUE

      public static final String ENCLOSURE_VALUE
      A String equivalent of ENCLOSURE.
      See Also:
    • ENCLOSURE

      public static final LinkRelation ENCLOSURE
      Identifies a related resource that is potentially large and might require special handling.
    • FIRST_VALUE

      public static final String FIRST_VALUE
      A String equivalent of FIRST.
      See Also:
    • FIRST

      public static final LinkRelation FIRST
      An IRI that refers to the furthest preceding resource in a series of resources.
    • GLOSSARY_VALUE

      public static final String GLOSSARY_VALUE
      A String equivalent of GLOSSARY.
      See Also:
    • GLOSSARY

      public static final LinkRelation GLOSSARY
      Refers to a glossary of terms.
    • HELP_VALUE

      public static final String HELP_VALUE
      A String equivalent of HELP.
      See Also:
    • HELP

      public static final LinkRelation HELP
      Refers to context-sensitive help.
    • HOSTS_VALUE

      public static final String HOSTS_VALUE
      A String equivalent of HOSTS.
      See Also:
    • HOSTS

      public static final LinkRelation HOSTS
      Refers to a resource hosted by the server indicated by the link context.
    • HUB_VALUE

      public static final String HUB_VALUE
      A String equivalent of HUB.
      See Also:
    • HUB

      public static final LinkRelation HUB
      Refers to a hub that enables registration for notification of updates to the context.
    • ICON_VALUE

      public static final String ICON_VALUE
      A String equivalent of ICON.
      See Also:
    • ICON

      public static final LinkRelation ICON
      Refers to an icon representing the link's context.
    • INDEX_VALUE

      public static final String INDEX_VALUE
      A String equivalent of INDEX.
      See Also:
    • INDEX

      public static final LinkRelation INDEX
      Refers to an index.
    • INTERVAL_AFTER_VALUE

      public static final String INTERVAL_AFTER_VALUE
      A String equivalent of INTERVAL_AFTER.
      See Also:
    • INTERVAL_AFTER

      public static final LinkRelation INTERVAL_AFTER
      refers to a resource associated with a time interval that ends before the beginning of the time interval associated with the context resource
    • INTERVAL_BEFORE_VALUE

      public static final String INTERVAL_BEFORE_VALUE
      A String equivalent of INTERVAL_BEFORE.
      See Also:
    • INTERVAL_BEFORE

      public static final LinkRelation INTERVAL_BEFORE
      refers to a resource associated with a time interval that begins after the end of the time interval associated with the context resource
    • INTERVAL_CONTAINS_VALUE

      public static final String INTERVAL_CONTAINS_VALUE
      A String equivalent of INTERVAL_CONTAINS.
      See Also:
    • INTERVAL_CONTAINS

      public static final LinkRelation INTERVAL_CONTAINS
      refers to a resource associated with a time interval that begins after the beginning of the time interval associated with the context resource, and ends before the end of the time interval associated with the context resource
    • INTERVAL_DISJOINT_VALUE

      public static final String INTERVAL_DISJOINT_VALUE
      A String equivalent of INTERVAL_DISJOINT.
      See Also:
    • INTERVAL_DISJOINT

      public static final LinkRelation INTERVAL_DISJOINT
      refers to a resource associated with a time interval that begins after the end of the time interval associated with the context resource, or ends before the beginning of the time interval associated with the context resource
    • INTERVAL_DURING_VALUE

      public static final String INTERVAL_DURING_VALUE
      A String equivalent of INTERVAL_DURING.
      See Also:
    • INTERVAL_DURING

      public static final LinkRelation INTERVAL_DURING
      refers to a resource associated with a time interval that begins before the beginning of the time interval associated with the context resource, and ends after the end of the time interval associated with the context resource
    • INTERVAL_EQUALS_VALUE

      public static final String INTERVAL_EQUALS_VALUE
      A String equivalent of INTERVAL_EQUALS.
      See Also:
    • INTERVAL_EQUALS

      public static final LinkRelation INTERVAL_EQUALS
      refers to a resource associated with a time interval whose beginning coincides with the beginning of the time interval associated with the context resource, and whose end coincides with the end of the time interval associated with the context resource
    • INTERVAL_FINISHED_BY_VALUE

      public static final String INTERVAL_FINISHED_BY_VALUE
      A String equivalent of INTERVAL_FINISHED_BY.
      See Also:
    • INTERVAL_FINISHED_BY

      public static final LinkRelation INTERVAL_FINISHED_BY
      refers to a resource associated with a time interval that begins after the beginning of the time interval associated with the context resource, and whose end coincides with the end of the time interval associated with the context resource
    • INTERVAL_FINISHES_VALUE

      public static final String INTERVAL_FINISHES_VALUE
      A String equivalent of INTERVAL_FINISHES.
      See Also:
    • INTERVAL_FINISHES

      public static final LinkRelation INTERVAL_FINISHES
      refers to a resource associated with a time interval that begins before the beginning of the time interval associated with the context resource, and whose end coincides with the end of the time interval associated with the context resource
    • INTERVAL_IN_VALUE

      public static final String INTERVAL_IN_VALUE
      A String equivalent of INTERVAL_IN.
      See Also:
    • INTERVAL_IN

      public static final LinkRelation INTERVAL_IN
      refers to a resource associated with a time interval that begins before or is coincident with the beginning of the time interval associated with the context resource, and ends after or is coincident with the end of the time interval associated with the context resource
    • INTERVAL_MEETS_VALUE

      public static final String INTERVAL_MEETS_VALUE
      A String equivalent of INTERVAL_MEETS.
      See Also:
    • INTERVAL_MEETS

      public static final LinkRelation INTERVAL_MEETS
      refers to a resource associated with a time interval whose beginning coincides with the end of the time interval associated with the context resource
    • INTERVAL_MET_BY_VALUE

      public static final String INTERVAL_MET_BY_VALUE
      A String equivalent of INTERVAL_MET_BY.
      See Also:
    • INTERVAL_MET_BY

      public static final LinkRelation INTERVAL_MET_BY
      refers to a resource associated with a time interval whose beginning coincides with the end of the time interval associated with the context resource
    • INTERVAL_OVERLAPPED_BY_VALUE

      public static final String INTERVAL_OVERLAPPED_BY_VALUE
      A String equivalent of INTERVAL_OVERLAPPED_BY.
      See Also:
    • INTERVAL_OVERLAPPED_BY

      public static final LinkRelation INTERVAL_OVERLAPPED_BY
      refers to a resource associated with a time interval that begins before the beginning of the time interval associated with the context resource, and ends after the beginning of the time interval associated with the context resource
    • INTERVAL_OVERLAPS_VALUE

      public static final String INTERVAL_OVERLAPS_VALUE
      A String equivalent of INTERVAL_OVERLAPS.
      See Also:
    • INTERVAL_OVERLAPS

      public static final LinkRelation INTERVAL_OVERLAPS
      refers to a resource associated with a time interval that begins before the end of the time interval associated with the context resource, and ends after the end of the time interval associated with the context resource
    • INTERVAL_STARTED_BY_VALUE

      public static final String INTERVAL_STARTED_BY_VALUE
      A String equivalent of INTERVAL_STARTED_BY.
      See Also:
    • INTERVAL_STARTED_BY

      public static final LinkRelation INTERVAL_STARTED_BY
      refers to a resource associated with a time interval whose beginning coincides with the beginning of the time interval associated with the context resource, and ends before the end of the time interval associated with the context resource
    • INTERVAL_STARTS_VALUE

      public static final String INTERVAL_STARTS_VALUE
      A String equivalent of INTERVAL_STARTS.
      See Also:
    • INTERVAL_STARTS

      public static final LinkRelation INTERVAL_STARTS
      refers to a resource associated with a time interval whose beginning coincides with the beginning of the time interval associated with the context resource, and ends after the end of the time interval associated with the context resource
    • ITEM_VALUE

      public static final String ITEM_VALUE
      A String equivalent of ITEM.
      See Also:
    • ITEM

      public static final LinkRelation ITEM
      The target IRI points to a resource that is a member of the collection represented by the context IRI.
    • LAST_VALUE

      public static final String LAST_VALUE
      A String equivalent of LAST.
      See Also:
    • LAST

      public static final LinkRelation LAST
      An IRI that refers to the furthest following resource in a series of resources.
    • LATEST_VERSION_VALUE

      public static final String LATEST_VERSION_VALUE
      A String equivalent of LATEST_VERSION.
      See Also:
    • LATEST_VERSION

      public static final LinkRelation LATEST_VERSION
      Points to a resource containing the latest (e.g., current) version of the context.
    • LICENSE_VALUE

      public static final String LICENSE_VALUE
      A String equivalent of LICENSE.
      See Also:
    • LICENSE

      public static final LinkRelation LICENSE
      Refers to a license associated with this context.
    • LRDD_VALUE

      public static final String LRDD_VALUE
      A String equivalent of LRDD.
      See Also:
    • LRDD

      public static final LinkRelation LRDD
      Refers to further information about the link's context, expressed as a LRDD ("Link-based Resource Descriptor Document") resource. See RFC6415 for information about processing this relation type in host-meta documents. When used elsewhere, it refers to additional links and other metadata. Multiple instances indicate additional LRDD resources. LRDD resources MUST have an "application/xrd+xml" representation, and MAY have others.
    • MEMENTO_VALUE

      public static final String MEMENTO_VALUE
      A String equivalent of MEMENTO.
      See Also:
    • MEMENTO

      public static final LinkRelation MEMENTO
      The Target IRI points to a Memento, a fixed resource that will not change state anymore.
    • MONITOR_VALUE

      public static final String MONITOR_VALUE
      A String equivalent of MONITOR.
      See Also:
    • MONITOR

      public static final LinkRelation MONITOR
      Refers to a resource that can be used to monitor changes in an HTTP resource.
    • MONITOR_GROUP_VALUE

      public static final String MONITOR_GROUP_VALUE
      A String equivalent of MONITOR_GROUP.
      See Also:
    • MONITOR_GROUP

      public static final LinkRelation MONITOR_GROUP
      Refers to a resource that can be used to monitor changes in a specified group of HTTP resources.
    • NEXT_VALUE

      public static final String NEXT_VALUE
      A String equivalent of NEXT.
      See Also:
    • NEXT

      public static final LinkRelation NEXT
      Indicates that the link's context is a part of a series, and that the next in the series is the link target.
    • NEXT_ARCHIVE_VALUE

      public static final String NEXT_ARCHIVE_VALUE
      A String equivalent of NEXT_ARCHIVE.
      See Also:
    • NEXT_ARCHIVE

      public static final LinkRelation NEXT_ARCHIVE
      Refers to the immediately following archive resource.
    • NOFOLLOW_VALUE

      public static final String NOFOLLOW_VALUE
      A String equivalent of NOFOLLOW.
      See Also:
    • NOFOLLOW

      public static final LinkRelation NOFOLLOW
      Indicates that the context’s original author or publisher does not endorse the link target.
    • NOREFERRER_VALUE

      public static final String NOREFERRER_VALUE
      A String equivalent of NOREFERRER.
      See Also:
    • NOREFERRER

      public static final LinkRelation NOREFERRER
      Indicates that no referrer information is to be leaked when following the link.
    • ORIGINAL_VALUE

      public static final String ORIGINAL_VALUE
      A String equivalent of ORIGINAL.
      See Also:
    • ORIGINAL

      public static final LinkRelation ORIGINAL
      The Target IRI points to an Original Resource.
    • PAYMENT_VALUE

      public static final String PAYMENT_VALUE
      A String equivalent of PAYMENT.
      See Also:
    • PAYMENT

      public static final LinkRelation PAYMENT
      Indicates a resource where payment is accepted.
    • PINGBACK_VALUE

      public static final String PINGBACK_VALUE
      A String equivalent of PINGBACK.
      See Also:
    • PINGBACK

      public static final LinkRelation PINGBACK
      Gives the address of the pingback resource for the link context.
    • PRECONNECT_VALUE

      public static final String PRECONNECT_VALUE
      A String equivalent of PRECONNECT.
      See Also:
    • PRECONNECT

      public static final LinkRelation PRECONNECT
      Used to indicate an origin that will be used to fetch required resources for the link context. Initiating an early connection, which includes the DNS lookup, TCP handshake, and optional TLS negotiation, allows the user agent to mask the high latency costs of establishing a connection.
    • PREDECESSOR_VERSION_VALUE

      public static final String PREDECESSOR_VERSION_VALUE
      A String equivalent of PREDECESSOR_VERSION.
      See Also:
    • PREDECESSOR_VERSION

      public static final LinkRelation PREDECESSOR_VERSION
      Points to a resource containing the predecessor version in the version history.
    • PREFETCH_VALUE

      public static final String PREFETCH_VALUE
      A String equivalent of PREFETCH.
      See Also:
    • PREFETCH

      public static final LinkRelation PREFETCH
      The prefetch link relation type is used to identify a resource that might be required by the next navigation from the link context, and that the user agent ought to fetch, such that the user agent can deliver a faster response once the resource is requested in the future.
    • PRELOAD_VALUE

      public static final String PRELOAD_VALUE
      A String equivalent of PRELOAD.
      See Also:
    • PRELOAD

      public static final LinkRelation PRELOAD
      Refers to a resource that should be loaded early in the processing of the link's context, without blocking rendering.
    • PRERENDER_VALUE

      public static final String PRERENDER_VALUE
      A String equivalent of PRERENDER.
      See Also:
    • PRERENDER

      public static final LinkRelation PRERENDER
      Used to identify a resource that might be required by the next navigation from the link context, and that the user agent ought to fetch and execute, such that the user agent can deliver a faster response once the resource is requested in the future.
    • PREV_VALUE

      public static final String PREV_VALUE
      A String equivalent of PREV.
      See Also:
    • PREV

      public static final LinkRelation PREV
      Indicates that the link's context is a part of a series, and that the previous in the series is the link target.
    • PREVIEW_VALUE

      public static final String PREVIEW_VALUE
      A String equivalent of PREVIEW.
      See Also:
    • PREVIEW

      public static final LinkRelation PREVIEW
      Refers to a resource that provides a preview of the link's context.
    • PREVIOUS_VALUE

      public static final String PREVIOUS_VALUE
      A String equivalent of PREVIOUS.
      See Also:
    • PREVIOUS

      public static final LinkRelation PREVIOUS
      Refers to the previous resource in an ordered series of resources. Synonym for "prev".
    • PREV_ARCHIVE_VALUE

      public static final String PREV_ARCHIVE_VALUE
      A String equivalent of PREV_ARCHIVE.
      See Also:
    • PREV_ARCHIVE

      public static final LinkRelation PREV_ARCHIVE
      Refers to the immediately preceding archive resource.
    • PRIVACY_POLICY_VALUE

      public static final String PRIVACY_POLICY_VALUE
      A String equivalent of PRIVACY_POLICY.
      See Also:
    • PRIVACY_POLICY

      public static final LinkRelation PRIVACY_POLICY
      Refers to a privacy policy associated with the link's context.
    • PROFILE_VALUE

      public static final String PROFILE_VALUE
      A String equivalent of PROFILE.
      See Also:
    • PROFILE

      public static final LinkRelation PROFILE
      Identifying that a resource representation conforms to a certain profile, without affecting the non-profile semantics of the resource representation.
    • RESTCONF_VALUE

      public static final String RESTCONF_VALUE
      A String equivalent of RESTCONF.
      See Also:
    • RESTCONF

      public static final LinkRelation RESTCONF
      Identifies the root of RESTCONF API as configured on this HTTP server. The "restconf" relation defines the root of the API defined in RFC8040. Subsequent revisions of RESTCONF will use alternate relation values to support protocol versioning.
    • REPLIES_VALUE

      public static final String REPLIES_VALUE
      A String equivalent of REPLIES.
      See Also:
    • REPLIES

      public static final LinkRelation REPLIES
      Identifies a resource that is a reply to the context of the link.
    • SEARCH_VALUE

      public static final String SEARCH_VALUE
      A String equivalent of SEARCH.
      See Also:
    • SECTION_VALUE

      public static final String SECTION_VALUE
      A String equivalent of SECTION.
      See Also:
    • SECTION

      public static final LinkRelation SECTION
      Refers to a section in a collection of resources.
    • SELF_VALUE

      public static final String SELF_VALUE
      A String equivalent of SELF.
      See Also:
    • SELF

      public static final LinkRelation SELF
      Conveys an identifier for the link's context.
    • SERVICE_VALUE

      public static final String SERVICE_VALUE
      A String equivalent of SERVICE.
      See Also:
    • SERVICE

      public static final LinkRelation SERVICE
      Indicates a URI that can be used to retrieve a service document.
    • START_VALUE

      public static final String START_VALUE
      A String equivalent of START.
      See Also:
    • START

      public static final LinkRelation START
      Refers to the first resource in a collection of resources.
    • STYLESHEET_VALUE

      public static final String STYLESHEET_VALUE
      A String equivalent of STYLESHEET.
      See Also:
    • STYLESHEET

      public static final LinkRelation STYLESHEET
      Refers to a stylesheet.
    • SUBSECTION_VALUE

      public static final String SUBSECTION_VALUE
      A String equivalent of SUBSECTION.
      See Also:
    • SUBSECTION

      public static final LinkRelation SUBSECTION
      Refers to a resource serving as a subsection in a collection of resources.
    • SUCCESSOR_VERSION_VALUE

      public static final String SUCCESSOR_VERSION_VALUE
      A String equivalent of SUCCESSOR_VERSION.
      See Also:
    • SUCCESSOR_VERSION

      public static final LinkRelation SUCCESSOR_VERSION
      Points to a resource containing the successor version in the version history.
    • TAG_VALUE

      public static final String TAG_VALUE
      A String equivalent of TAG.
      See Also:
    • TAG

      public static final LinkRelation TAG
      Gives a tag (identified by the given address) that applies to the current document.
    • TERMS_OF_SERVICE_VALUE

      public static final String TERMS_OF_SERVICE_VALUE
      A String equivalent of TERMS_OF_SERVICE.
      See Also:
    • TERMS_OF_SERVICE

      public static final LinkRelation TERMS_OF_SERVICE
      Refers to the terms of service associated with the link's context.
    • TIMEGATE_VALUE

      public static final String TIMEGATE_VALUE
      A String equivalent of TIMEGATE.
      See Also:
    • TIMEGATE

      public static final LinkRelation TIMEGATE
      The Target IRI points to a TimeGate for an Original Resource.
    • TIMEMAP_VALUE

      public static final String TIMEMAP_VALUE
      A String equivalent of TIMEMAP.
      See Also:
    • TIMEMAP

      public static final LinkRelation TIMEMAP
      The Target IRI points to a TimeMap for an Original Resource.
    • TYPE_VALUE

      public static final String TYPE_VALUE
      A String equivalent of TYPE.
      See Also:
    • TYPE

      public static final LinkRelation TYPE
      Refers to a resource identifying the abstract semantic type of which the link's context is considered to be an instance.
    • UP_VALUE

      public static final String UP_VALUE
      A String equivalent of UP.
      See Also:
    • UP

      public static final LinkRelation UP
      Refers to a parent document in a hierarchy of documents.
    • VERSION_HISTORY_VALUE

      public static final String VERSION_HISTORY_VALUE
      A String equivalent of VERSION_HISTORY.
      See Also:
    • VERSION_HISTORY

      public static final LinkRelation VERSION_HISTORY
      Points to a resource containing the version history for the context.
    • VIA_VALUE

      public static final String VIA_VALUE
      A String equivalent of VIA.
      See Also:
    • VIA

      public static final LinkRelation VIA
      Identifies a resource that is the source of the information in the link's context.
    • WEBMENTION_VALUE

      public static final String WEBMENTION_VALUE
      A String equivalent of WEBMENTION.
      See Also:
    • WEBMENTION

      public static final LinkRelation WEBMENTION
      Identifies a target URI that supports the Webmention protcol. This allows clients that mention a resource in some form of publishing process to contact that endpoint and inform it that this resource has been mentioned.
    • WORKING_COPY_VALUE

      public static final String WORKING_COPY_VALUE
      A String equivalent of WORKING_COPY.
      See Also:
    • WORKING_COPY

      public static final LinkRelation WORKING_COPY
      Points to a working copy for this resource.
    • WORKING_COPY_OF_VALUE

      public static final String WORKING_COPY_OF_VALUE
      A String equivalent of WORKING_COPY_OF.
      See Also:
    • WORKING_COPY_OF

      public static final LinkRelation WORKING_COPY_OF
      Points to the versioned resource from which this working copy was obtained.
  • Method Details

    • isIanaRel

      public static boolean isIanaRel(String relation)
      Is this relation an IANA standard? Per RFC 8288, parsing of link relations is case insensitive.
      Parameters:
      relation - must not be null.
      Returns:
      boolean
    • isIanaRel

      public static boolean isIanaRel(LinkRelation relation)
      Is this relation an IANA standard? Per RFC 8288, parsing of link relations is case insensitive.
      Parameters:
      relation - must not be null.
      Returns:
    • parse

      public static LinkRelation parse(String relation)
      Convert a string-based link relation to a IanaLinkRelations. Per RFC8288, parsing of link relations is case insensitive.
      Parameters:
      relation - as a string
      Returns:
      the link relation as a LinkRelation