public class RestMethod extends AbstractWsdlModelItem implements AuthProfileHolderContainer, JPropertyTableServant, MutableTestPropertyHolder, java.beans.PropertyChangeListener
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
CHILDREQUESTS_PROPERTY |
|
static java.lang.String |
METHOD_CAPTION_PROPERTY_NAME |
|
static java.lang.String |
METHOD_NAME_PROPERTY_NAME |
Constructor and description |
---|
RestMethod
(RestResource service, RestMethodConfig methodConfig) |
Type Params | Return Type | Name and description |
---|---|---|
|
public RestCallback |
addNewCallback(java.lang.String name, java.lang.String ref) |
|
public RestRepresentation |
addNewRepresentation(Type type) |
|
public RestRequest |
addNewRequest(java.lang.String name) |
|
public RestRequest |
addNewRequestWithEndpoint(java.lang.String name, java.lang.String endpoint, java.util.List<RestRefactoringRepresentationElement> restRefactoringRepresentationElements) |
|
public RestParamProperty |
addProperty(java.lang.String name) |
|
public RestParamProperty |
addRefactoringProperty(RestRefactoringParameter param) |
|
public void |
addTestPropertyListener(TestPropertyListener listener) |
|
public RestRequest |
cloneRequest(RestRequest request, java.lang.String name) |
|
public AuthProfileHolder |
getAuthProfileHolder() |
|
public java.util.List<RestCallback> |
getCallbacks() |
|
public java.util.List<? extends ModelItem> |
getChildren() |
|
public RestParamProperty[] |
getDefaultParams() |
|
public java.lang.String |
getDefaultRequestMediaType() |
|
public static java.lang.String |
getIconName(java.lang.String method) |
|
public AbstractRestService |
getInterface() |
|
public HttpMethod |
getMethod() |
|
public ModelItem |
getModelItem() |
|
public RestResource |
getOperation() |
|
public RestParamsPropertyHolder |
getOverlayParams() |
|
public RestParamsPropertyHolder |
getParams() |
|
public java.util.Map<java.lang.String, TestProperty> |
getProperties() |
|
public java.lang.String |
getPropertiesLabel() |
|
public RestParamProperty |
getProperty(java.lang.String name) |
|
public RestParamProperty |
getPropertyAt(int index) |
|
public int |
getPropertyCount() |
|
public PropertyExpansion[] |
getPropertyExpansions() |
|
public java.util.List<TestProperty> |
getPropertyList() |
|
public java.lang.String[] |
getPropertyNames() |
|
public java.lang.String |
getPropertyValue(java.lang.String name) |
|
public RestRepresentation[] |
getRepresentations() |
|
public RestRepresentation[] |
getRepresentations(Type type, java.lang.String mediaType) |
|
public RestRequest |
getRequestAt(int index) |
|
public RestRequest |
getRequestById(java.lang.String id) |
|
public RestRequest |
getRequestByName(java.lang.String name) |
|
public int |
getRequestCount() |
|
public java.util.List<RestRequest> |
getRequestList() |
|
public RestResource |
getResource() |
|
public java.lang.String[] |
getResponseMediaTypes() |
|
public boolean |
hasProperty(java.lang.String name) |
|
public boolean |
hasRequestBody() |
|
public void |
initWsdlModelItemOrder(java.util.List<? extends AbstractWsdlModelItem> sortedRestRequestList) |
|
public boolean |
isValidPropertyValue(java.lang.Object propertyOwner, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) |
|
public void |
moveProperty(java.lang.String propertyName, int targetIndex) |
|
public void |
moveRequest(int ix, int offset) |
|
public void |
onResourcePathUpdate(java.lang.String oldPath, java.lang.String newPath) |
|
public void |
propertyChange(java.beans.PropertyChangeEvent arg0) |
|
public void |
release() |
|
public RestParamProperty |
removeProperty(java.lang.String propertyName) |
|
public RestParamProperty |
removeProperty(java.lang.String propertyName, boolean removeParametersValues) |
|
public void |
removeRepresentation(RestRepresentation representation) |
|
public void |
removeRequest(RestRequest request) |
|
public void |
removeTestPropertyListener(TestPropertyListener listener) |
|
public boolean |
renameProperty(java.lang.String name, java.lang.String newName) |
|
public void |
resetConfigOnMove(ModelItemConfig config) |
|
public void |
setMethod(HttpMethod method) |
|
public void |
setPropertyValue(java.lang.String name, java.lang.String value) |
|
public java.lang.String |
toString() |
ReadyAPI functional (soapui) SDK 3.61.0