Class CacheQuestion


  • public class CacheQuestion
    extends Object
    This class contains all the input parameters for a cache request
    Since:
    15.0
    • Field Detail

      • profile

        @NonNull
        @Pattern(regexp="[\\w-_]+")
        private @NonNull @Pattern(regexp="[\\w-_]+") String profile
        Profile where to lookup the cached copies template to use
      • form

        @NonNull
        @Pattern(regexp="[\\w-_]+")
        private @NonNull @Pattern(regexp="[\\w-_]+") String form

        Form (template) to use to render the cached copy

        The template is expected to be prefixed with cache. and have the extension .ftl

      • url

        private String url
        URL of the document to retrieve the cached copy of
      • doc

        private String doc

        Relative path of the document in the collection storage to access the document.

        This is used as a fallback method if the document cannot be found via its URL, for example if the URL has been rewritten

      • off

        private long off
        Offset of the document in the WARC file
      • len

        private int len
        Length of the document in the WARC file
    • Constructor Detail

      • CacheQuestion

        public CacheQuestion()