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