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