Package de.narimo.georepo.server.api
Class AppController
- java.lang.Object
-
- de.narimo.georepo.server.api.AppController
-
@Provider @Path("/apps") public class AppController extends Object
-
-
Constructor Summary
Constructors Constructor Description AppController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsecreateAppKey(javax.ws.rs.core.SecurityContext sec, String organisation, String ownerName, String addressStreet, String addressStreetnumber, String addressPostcode, String addressCity, String templateKey)javax.ws.rs.core.ResponsegetAppDetails(String appkey)javax.ws.rs.core.ResponsegetAppKeys(javax.ws.rs.core.SecurityContext sec)
-
-
-
Method Detail
-
getAppKeys
@GET @Path("/") @Produces("application/json") public javax.ws.rs.core.Response getAppKeys(@Context javax.ws.rs.core.SecurityContext sec) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
getAppDetails
@GET @Path("/{appkey}/details") @Produces("application/json") public javax.ws.rs.core.Response getAppDetails(@PathParam("appkey") String appkey) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
createAppKey
@POST @Path("/") @Produces("application/json") public javax.ws.rs.core.Response createAppKey(@Context javax.ws.rs.core.SecurityContext sec, @QueryParam("organisation") String organisation, @QueryParam("ownername") String ownerName, @QueryParam("addressStreet") String addressStreet, @QueryParam("addressStreetnumber") String addressStreetnumber, @QueryParam("addressPostcode") String addressPostcode, @QueryParam("addressCity") String addressCity, @QueryParam("templateKey") String templateKey) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
-