@Path(value="json/users") public class JSONBasedUsers extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
JSONBasedUsers() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
defaultUsers() |
javax.ws.rs.core.Response |
userProductRole(String id,
String refType) |
javax.ws.rs.core.Response |
userRole(String email) |
@GET @Produces(value="application/json") public javax.ws.rs.core.Response defaultUsers() throws org.json.JSONException
org.json.JSONException
@Path(value="{email}") @GET @Produces(value="application/json") public javax.ws.rs.core.Response userRole(@PathParam(value="email") String email) throws org.json.JSONException
org.json.JSONException
Copyright © 2010–2018 Planetary Data System. All rights reserved.