Class AgamaRepoResource


  • @Path("/agama-repo")
    @Consumes("application/json")
    @Produces("application/json")
    public class AgamaRepoResource
    extends ConfigBaseResource
    Author:
    Puja Sharma
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response getAgamaProject​(String downloadLink)  
      jakarta.ws.rs.core.Response getAllAgamaRepositories()  
      • Methods inherited from class io.jans.configapi.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError, throwNotFoundException, throwNotFoundException
    • Constructor Detail

      • AgamaRepoResource

        public AgamaRepoResource()
    • Method Detail

      • getAllAgamaRepositories

        @GET
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getAllAgamaRepositories()
      • getAgamaProject

        @GET
        @Produces("application/json")
        @Path("/download")
        public jakarta.ws.rs.core.Response getAgamaProject​(@QueryParam("downloadLink")
                                                           String downloadLink)
                                                    throws IOException
        Throws:
        IOException