Class ApiHead

    • Constructor Detail

      • ApiHead

        public ApiHead()
    • Method Detail

      • search

        public Pageable<?> search​(@QueryParameter("q")
                                  Query query)
        Search API Gives collection starting from start parameter value with max numbers <= limit
        query - query object parsed from value of q URL query parameter
        Gives pageable collection always non-null
      • getLink

        public Link getLink()
        Specified by:
        getLink in interface Reachable
        Gives Link to a reachable Resource or Container
      • INSTANCE

        public static ApiHead INSTANCE()
        Gives instance of ApiHead by looking in to Extensions. In some cases it might be null, such as when jenkins is booting up.