public class SessionController extends AbstractSakaiController
credential, gson| Constructor and Description |
|---|
SessionController(SakaiCredential credential) |
| Modifier and Type | Method and Description |
|---|---|
com.github.deinok.threading.Task<Session> |
current() |
com.github.deinok.threading.Task<Object> |
delete(Object object) |
com.github.deinok.threading.Task<Session[]> |
get() |
com.github.deinok.threading.Task<Session> |
get(String id) |
com.github.deinok.threading.Task<Boolean> |
newSession(String id,
String password) |
com.github.deinok.threading.Task<Session[]> |
post(String id,
String password) |
com.github.deinok.threading.Task<Object> |
put(Object object) |
getBody, getBody, getCode, getCode, getInputStream, getInputStream, getJson, getJson, jsonPost, jsonPost, jsonPost, jsonPost, postBody, postBody, postBody, postBody, postCode, postCode, postCode, postCodepublic SessionController(@NotNull
SakaiCredential credential)
@NotNull public com.github.deinok.threading.Task<Session[]> get() throws IOException, HttpCodeException
IOExceptionHttpCodeExceptionpublic com.github.deinok.threading.Task<Session> get(@NotNull String id) throws IOException, HttpCodeException
IOExceptionHttpCodeException@NotNull public com.github.deinok.threading.Task<Session[]> post(@NotNull String id, @NotNull String password) throws IOException, HttpCodeException
IOExceptionHttpCodeExceptionpublic com.github.deinok.threading.Task<Boolean> newSession(@NotNull String id, @NotNull String password)
@NotNull public com.github.deinok.threading.Task<Session> current() throws IOException, HttpCodeException
IOExceptionHttpCodeExceptionCopyright © 2017. All rights reserved.