Class AgamaRepoResource
- java.lang.Object
-
- io.jans.configapi.core.rest.BaseResource
-
- io.jans.configapi.rest.resource.auth.ConfigBaseResource
-
- io.jans.configapi.rest.resource.auth.AgamaRepoResource
-
@Path("/agama-repo") @Consumes("application/json") @Produces("application/json") public class AgamaRepoResource extends ConfigBaseResource
- Author:
- Puja Sharma
-
-
Constructor Summary
Constructors Constructor Description AgamaRepoResource()
-
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.rest.resource.auth.ConfigBaseResource
getMaxCount
-
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
-
-
-
-
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
-
-