public abstract class AbstractController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected @NotNull SakaiCredential |
credential |
protected @NotNull com.google.gson.Gson |
gson |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractController(@NotNull SakaiCredential credential) |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull String |
bodyPost(@NotNull String path) |
protected com.google.gson.JsonElement |
jsonDelete(@NotNull String path) |
protected com.google.gson.JsonElement |
jsonGet(@NotNull String path) |
protected com.google.gson.JsonElement |
jsonPost(@NotNull String path) |
protected com.google.gson.JsonElement |
jsonPut(@NotNull String path) |
@NotNull protected final @NotNull SakaiCredential credential
@NotNull protected final @NotNull com.google.gson.Gson gson
protected AbstractController(@NotNull
@NotNull SakaiCredential credential)
@NotNull protected @NotNull String bodyPost(@NotNull @NotNull String path) throws HttpCodeException, IOException
HttpCodeExceptionIOExceptionprotected com.google.gson.JsonElement jsonGet(@NotNull
@NotNull String path)
throws HttpCodeException,
IOException
HttpCodeExceptionIOExceptionprotected com.google.gson.JsonElement jsonPost(@NotNull
@NotNull String path)
throws HttpCodeException,
IOException
HttpCodeExceptionIOExceptionprotected com.google.gson.JsonElement jsonPut(@NotNull
@NotNull String path)
throws HttpCodeException
HttpCodeExceptionprotected com.google.gson.JsonElement jsonDelete(@NotNull
@NotNull String path)
throws HttpCodeException
HttpCodeExceptionCopyright © 2016. All rights reserved.