public abstract class GcRestClientServiceSupport extends GcServiceSupport
serviceContextURL_ATTACH_IMAGE_TO_LOG, URL_CACHE, URL_CACHE_DETAILS, URL_CACHE_REF, URL_DELETE_LOG_DRAFT, URL_GET_FIELD_NOTE_FORM, URL_GET_FIELD_NOTES, URL_GET_LOG_DRAFT, URL_GET_LOGBOOK, URL_GET_PROFILE, URL_GET_PROFILE_GUID, URL_GET_TRACKABLES, URL_MY_DEFAULT, URL_OAUTH_TOKEN, URL_PGC_GET_CHALLENGE, URL_PGC_RUN_CHALLENGE_CHECKER, URL_SEARCH, URL_SEARCH_MORE_RESULTS, URL_SEND_LOG, URL_SEND_LOG_IMAGE| Constructor and Description |
|---|
GcRestClientServiceSupport() |
| Modifier and Type | Method and Description |
|---|---|
GcResponse |
executeRequest(GcRequest request) |
GcResponse |
executeRequest(GcRequest request,
int expectedStatusCode) |
GcRequestBuilder |
forDelete(String baseUrl) |
GcRequestBuilder |
forGet(String baseUrl) |
GcRequestBuilder |
forPost(String baseUrl) |
protected GcRestClientApplicationContext |
getApplicationContext() |
void |
setServiceContext(GcServiceContext serviceContext) |
forPatch, getGcSession, getTrackables, getUsername, loginProjectGc, newPersistenceContextpublic void setServiceContext(GcServiceContext serviceContext)
setServiceContext in interface GcServicesetServiceContext in class GcServiceSupportprotected GcRestClientApplicationContext getApplicationContext()
public GcRequestBuilder forGet(String baseUrl)
forGet in class GcServiceSupportpublic GcRequestBuilder forPost(String baseUrl)
forPost in class GcServiceSupportpublic GcRequestBuilder forDelete(String baseUrl)
forDelete in class GcServiceSupportpublic GcResponse executeRequest(GcRequest request)
executeRequest in class GcServiceSupportpublic GcResponse executeRequest(GcRequest request, int expectedStatusCode)
executeRequest in class GcServiceSupportCopyright © 2017 Ultreia.io. All rights reserved.