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, validateResponse
auditLog, authorize, authorizeExport, generateRequestId, getAction, getAuthUser, getEntity, getEntityDescription, getEntityId, getParameters, getQuery, getRequestUrl, getRequiredProperty, getRoles, getRoles, getSegment, getSegments, getSource, getSub, getUserAction, logtag, masterRequestId
public org.json.JSONObject get(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> headers) throws ServiceException, org.json.JSONException
JsonRestService
get
in class JsonRestService
ServiceException
org.json.JSONException
public 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
JsonRestService
post
in class JsonRestService
ServiceException
org.json.JSONException
Copyright © 2019 CenturyLink, Inc.