public class RestMockAction extends AbstractMockOperation
Fields inherited from class | Fields |
---|---|
class AbstractMockOperation |
DISPATCH_PATH_PROPERTY, DISPATCH_STYLE_PROPERTY |
Constructor and description |
---|
RestMockAction
(RestMockService mockService, RESTMockActionConfig config) |
RestMockAction
(RestMockService mockService, RESTMockActionConfig config, RestRequest request) |
Type Params | Return Type | Name and description |
---|---|---|
|
RestMockResponse |
addNewMockResponse(java.lang.String name) |
|
RestMockResult |
dispatchRequest(RestMockRequest request) |
|
java.util.List<? extends ModelItem> |
getChildren() |
|
static java.lang.String |
getDefaultIcon() |
|
java.lang.String |
getHelpUrl() |
|
static java.lang.String |
getIconName(RESTMockActionConfig methodConfig) |
|
HttpMethod |
getMethod() |
|
RestMockService |
getMockService() |
|
Operation |
getOperation() |
|
java.lang.String |
getResourcePath() |
|
java.lang.String |
getScriptHelpUrl() |
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
|
void |
removeResponseFromConfig(int index) |
|
void |
setExampleScript() |
|
void |
setMethod(HttpMethod method) |
|
void |
setResource(RestResource resource) |
|
void |
setResourcePath(java.lang.String path) |