Class PagingLink


  • public class PagingLink
    extends Object
    Provides utilities to help with the implementation of LDP Paging, as defined in the following W3C specification: https://www.w3.org/TR/ldp-paging/
    Since:
    1.12.0
    • Constructor Detail

      • PagingLink

        public PagingLink()
    • Method Detail

      • pageBuilder

        public static PagingLink.PagingLinkBuilder pageBuilder()
        Creates a LDP Paging Link builder initialized with the http://www.w3.org/ns/ldp#Page type. It tells the client that the response is an in-sequence page resource, and therefore it needs to examine the other response headers to see if more data existed in the canonical paged resource when the response was generated by the server.
        Returns:
        a LDP page link builder
      • createLinkHeader

        public String createLinkHeader()
        Creates a Link header value from this PagingLink.
        Returns:
        a Link header value