@Path(value="/users/") public class UsersResource extends Object
| Constructor and Description |
|---|
UsersResource()
Creates a new instance of Users
|
| Modifier and Type | Method and Description |
|---|---|
UserResource |
getUser(String userid) |
List<UserEntity> |
getUsers() |
org.codehaus.jettison.json.JSONArray |
getUsersAsJsonArray() |
public List<UserEntity> getUsers()
@Path(value="{userid}/")
public UserResource getUser(@PathParam(value="userid")
String userid)
@GET @Produces(value="application/json") public org.codehaus.jettison.json.JSONArray getUsersAsJsonArray()
Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.