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 -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getAgamaProject
(String downloadLink) jakarta.ws.rs.core.Response
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
-
Constructor Details
-
AgamaRepoResource
public AgamaRepoResource()
-
-
Method Details
-
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
-