public class SessionController extends AbstractController
credential, gson| Constructor and Description |
|---|
SessionController(@NotNull SakaiCredential credential) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Session |
current() |
Object |
delete(@NotNull Object object) |
@NotNull Session[] |
get() |
Session |
get(@NotNull String id) |
boolean |
newSession(@NotNull String id,
@NotNull String password) |
@NotNull Session[] |
post(@NotNull String id,
@NotNull String password) |
Object |
put(@NotNull Object object) |
bodyPost, jsonDelete, jsonGet, jsonPost, jsonPutpublic SessionController(@NotNull
@NotNull SakaiCredential credential)
@NotNull public @NotNull Session[] get() throws IOException, HttpCodeException
IOExceptionHttpCodeExceptionpublic Session get(@NotNull @NotNull String id) throws IOException, HttpCodeException
IOExceptionHttpCodeException@NotNull public @NotNull Session[] post(@NotNull @NotNull String id, @NotNull @NotNull String password) throws IOException, HttpCodeException
IOExceptionHttpCodeExceptionpublic boolean newSession(@NotNull
@NotNull String id,
@NotNull
@NotNull String password)
@NotNull public @NotNull Session current() throws IOException, HttpCodeException
IOExceptionHttpCodeExceptionCopyright © 2016. All rights reserved.