public class RestAPIDocs extends java.lang.Object implements RestPluginProcess
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FIELD_DEFINITIONS_PREFX |
static java.lang.String |
FIELD_DESCRIPTION |
static java.lang.String |
FIELD_ENUM |
static java.lang.String |
FIELD_FORMAT |
static java.lang.String |
FIELD_NAME |
static java.lang.String |
FIELD_PARAMETERS |
static java.lang.String |
FIELD_REF |
static java.lang.String |
FIELD_REQUIRED |
static java.lang.String |
FIELD_SCHEMA |
static java.lang.String |
FIELD_TYPE |
Constructor and Description |
---|
RestAPIDocs() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
restCreate(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP POST calls the the Create ReST service.
|
java.lang.Object |
restDelete(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP DELETE calls the the Delete ReST service.
|
java.lang.Object |
restRetrieve(WebClient client,
RestDefinition restDefinition,
ReadOnlyDataSource rds)
HTTP GET calls the the Retrieval ReST service.
|
java.lang.Object |
restUpdate(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP PUT calls the the Update ReST service.
|
public static final java.lang.String FIELD_DESCRIPTION
public static final java.lang.String FIELD_PARAMETERS
public static final java.lang.String FIELD_ENUM
public static final java.lang.String FIELD_NAME
public static final java.lang.String FIELD_REQUIRED
public static final java.lang.String FIELD_SCHEMA
public static final java.lang.String FIELD_TYPE
public static final java.lang.String FIELD_FORMAT
public static final java.lang.String FIELD_REF
public static final java.lang.String FIELD_DEFINITIONS_PREFX
public java.lang.Object restRetrieve(WebClient client, RestDefinition restDefinition, ReadOnlyDataSource rds) throws java.lang.Exception
RestPluginProcess
restRetrieve
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionrds
- the data source to usejava.lang.UnsupportedOperationException
- if this method is NOT supported.java.lang.Exception
- an error has occurred.public java.lang.Object restCreate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcess
restCreate
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to usejava.lang.UnsupportedOperationException
- if this method is NOT supported.ExceptionResponse
- an error has occurred.java.lang.Exception
public java.lang.Object restUpdate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcess
restUpdate
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to usejava.lang.UnsupportedOperationException
- if this method is NOT supported.ExceptionResponse
- an error has occurred.java.lang.Exception
public java.lang.Object restDelete(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcess
restDelete
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to use.java.lang.UnsupportedOperationException
- if this method is NOT supported.ExceptionResponse
- an error has occurred.java.lang.Exception
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.