public class ContentController extends AbstractSakaiController
credential, gson| Constructor and Description |
|---|
ContentController(SakaiCredential credential) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
downloadContent(Content content) |
Content.ContentFolder |
my() |
Content.ContentFolder |
site(String siteId) |
Content.ContentFolder |
user(String userEid) |
getBody, getBody, getCode, getCode, getInputStream, getInputStream, getJson, getJson, jsonPost, jsonPost, jsonPost, jsonPost, postBody, postBody, postBody, postBody, postCode, postCode, postCode, postCodepublic ContentController(@NotNull
SakaiCredential credential)
@NotNull public Content.ContentFolder site(@NotNull String siteId) throws IOException
IOException@NotNull public Content.ContentFolder my() throws IOException
IOException@NotNull public Content.ContentFolder user(@NotNull String userEid) throws IOException
IOException@NotNull public InputStream downloadContent(@NotNull Content content) throws IOException
IOExceptionCopyright © 2016. All rights reserved.