Class ApiHead

    • Constructor Detail

      • ApiHead

        public ApiHead()
    • Method Detail

      • search

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

        public Link getLink()
        Specified by:
        getLink in interface Reachable
        Returns:
        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.