public class RestResource extends AbstractWsdlModelItem implements AbstractHttpOperation, AuthProfileHolderContainer, ChannelCurator, JPropertyTableServant, MutableTestPropertyHolder, RestResourceContainer, java.beans.PropertyChangeListener
WSDL implementation of Operation, maps to a WSDL BindingOperation
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
CHILD_METHODS_PROPERTY |
|
static java.lang.String |
CHILD_RESOURCES_PROPERTY |
|
static java.lang.String |
ICON_NAME |
|
static java.lang.String |
PATH_PROPERTY |
|
static java.lang.String |
REMOVE_DEFINITION_RESOURCE_PROPERTY |
Constructor and description |
---|
RestResource
(AbstractRestService service, RestResourceConfig resourceConfig) |
RestResource
(RestResource restResource, RestResourceConfig resourceConfig) |
Type Params | Return Type | Name and description |
---|---|---|
|
public RestResource |
addNewChildResource(java.lang.String name, java.lang.String path) |
|
public RestMethod |
addNewMethod(java.lang.String name) |
|
public RestParamProperty |
addProperty(java.lang.String name) |
|
public void |
addTestPropertyListener(TestPropertyListener listener) |
|
public java.lang.String |
buildPath(PropertyExpansionContext context) |
|
public RestResource |
cloneChildResource(RestResource resource, java.lang.String name) |
|
public RestMethod |
cloneMethod(RestMethod method, java.lang.String name) |
|
public RestResource |
cloneResource(RestResource resource, java.lang.String name) |
|
public boolean |
containsChannel(java.lang.String path) |
|
public boolean |
containsChannelItem(java.lang.String relativePath, java.lang.String channelItem) |
|
public boolean |
containsChannelItem(java.lang.String channelItem) |
|
public boolean |
containsMethod(java.lang.String httpMethodName) |
|
public java.lang.String |
createRequest(boolean b) |
|
public java.lang.String |
createResponse(boolean b) |
|
public void |
deleteMethod(RestMethod method) |
|
public void |
deleteResource(RestResource resource) |
|
public RestResource[] |
getAllChildResources() |
|
public Attachment.AttachmentEncoding |
getAttachmentEncoding(java.lang.String part, boolean isRequest) |
|
public AuthProfileHolder |
getAuthProfileHolder() |
|
public RestResource |
getChildResourceAt(int c) |
|
public RestResource |
getChildResourceByName(java.lang.String name) |
|
public int |
getChildResourceCount() |
|
public java.util.List<RestResource> |
getChildResourceList() |
|
public java.util.List<? extends ModelItem> |
getChildren() |
|
public RestParamProperty[] |
getDefaultParams() |
|
public MessagePart[] |
getDefaultRequestParts() |
|
public MessagePart[] |
getDefaultResponseParts() |
|
public java.lang.String |
getFullPath() |
|
public java.lang.String |
getFullPath(boolean includeBasePath) |
|
public AbstractRestService |
getInterface() |
|
public ModelItem |
getModelItem() |
|
public RestParamsPropertyHolder |
getParams() |
|
public RestResource |
getParentResource() |
|
public java.lang.String |
getPath() |
|
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 java.util.List<TestProperty> |
getPropertyList() |
|
public java.lang.String[] |
getPropertyNames() |
|
public java.lang.String |
getPropertyValue(java.lang.String name) |
|
public RestRequest |
getRequestAt(int index) |
|
public RestRequest |
getRequestByName(java.lang.String name) |
|
public int |
getRequestCount() |
|
public java.util.List<Request> |
getRequestList() |
|
public java.lang.String[] |
getRequestMediaTypes() |
|
public RestResourceContainer |
getResourceContainer() |
|
public java.lang.String[] |
getResponseMediaTypes() |
|
public RestMethod |
getRestMethodAt(int c) |
|
public RestMethod |
getRestMethodByName(java.lang.String name) |
|
public int |
getRestMethodCount() |
|
public java.util.List<RestMethod> |
getRestMethodList() |
|
public AbstractRestService |
getService() |
|
public RestResource |
getTopLevelResource() |
|
public boolean |
hasProperty(java.lang.String name) |
|
public void |
initWsdlModelItemOrder(java.util.List<? extends AbstractWsdlModelItem> sortedRestResourceList) |
|
public boolean |
isBidirectional() |
|
public boolean |
isNotification() |
|
public boolean |
isOneWay() |
|
public boolean |
isRequestResponse() |
|
public boolean |
isSolicitResponse() |
|
public boolean |
isUnidirectional() |
|
public boolean |
isUpdated() |
|
public boolean |
isValidChannelName(java.lang.String path) |
|
public boolean |
isValidPropertyValue(java.lang.Object propertyOwner, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) |
|
public boolean |
isWebhook() |
|
public void |
moveChildResource(int index, int offset) |
|
public void |
moveProperty(java.lang.String propertyName, int targetIndex) |
|
public void |
moveRequest(int ix, int offset) |
|
public void |
propertyChange(java.beans.PropertyChangeEvent evt) |
|
public void |
release() |
|
public static java.lang.String |
removeMatrixParams(java.lang.String path) |
|
public RestParamProperty |
removeProperty(java.lang.String propertyName) |
|
public void |
removeTestPropertyListener(TestPropertyListener listener) |
|
public boolean |
renameProperty(java.lang.String name, java.lang.String newName) |
|
public void |
resetConfigOnMove(ModelItemConfig config) |
|
public void |
setPath(java.lang.String path) |
|
public void |
setPropertyValue(java.lang.String name, java.lang.String value) |
|
public void |
setUpdated(boolean updated) |
|
public java.lang.String |
toString() |
ReadyAPI functional (soapui) SDK 3.59.0