public class FortuneService extends JsonRestService
HTTP_200_OK, HTTP_201_CREATED, HTTP_202_ACCEPTED, HTTP_400_BAD_REQUEST, HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN, HTTP_404_NOT_FOUND, HTTP_405_METHOD_NOT_ALLOWED, HTTP_409_CONFLICT, HTTP_500_INTERNAL_ERROR, HTTP_501_NOT_IMPLEMENTED| Constructor and Description |
|---|
FortuneService() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
get(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> headers)
Retrieve an existing entity or relationship.
|
org.json.JSONObject |
post(java.lang.String path,
org.json.JSONObject content,
java.util.Map<java.lang.String,java.lang.String> headers)
Create a new entity or relationship.
|
delete, export, getDefaultResponse, getExporter, getJson, getText, invokeServiceProcess, isApi, launchProcess, notifyProcess, notifyProcess, patch, put, service, validateResponseauditLog, authorize, authorizeExport, generateRequestId, getAction, getAuthUser, getEntity, getEntityDescription, getEntityId, getParameters, getQuery, getRequestUrl, getRequiredProperty, getRoles, getRoles, getSegment, getSegments, getSource, getSub, getUserAction, logtag, masterRequestIdpublic org.json.JSONObject get(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> headers)
throws ServiceException,
org.json.JSONException
JsonRestServiceget in class JsonRestServiceServiceExceptionorg.json.JSONExceptionpublic org.json.JSONObject post(java.lang.String path,
org.json.JSONObject content,
java.util.Map<java.lang.String,java.lang.String> headers)
throws ServiceException,
org.json.JSONException
JsonRestServicepost in class JsonRestServiceServiceExceptionorg.json.JSONExceptionCopyright © 2019 CenturyLink, Inc.