public class UserController extends AbstractController
credential, gson| Constructor and Description |
|---|
UserController(SakaiCredential credential) |
| Modifier and Type | Method and Description |
|---|---|
User |
current() |
Object |
delete() |
boolean |
exists(String eId) |
User[] |
get() |
User |
get(String eId) |
Object |
post() |
Object |
put() |
boolean |
validatePassword(String username,
String password) |
bodyPost, jsonDelete, jsonGet, jsonPost, jsonPutpublic UserController(@NotNull
SakaiCredential credential)
@NotNull public User[] get() throws IOException
IOException@NotNull public User get(@NotNull String eId) throws IOException
IOException@NotNull public Object post()
@NotNull public Object put()
@NotNull public Object delete()
public boolean validatePassword(@NotNull
String username,
@NotNull
String password)
public boolean exists(@NotNull
String eId)
@NotNull public User current() throws IOException
IOExceptionCopyright © 2016. All rights reserved.