public class RestResource extends AbstractWsdlModelItem
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 |
---|---|---|
|
RestResource |
addNewChildResource(java.lang.String name, java.lang.String path) |
|
RestMethod |
addNewMethod(java.lang.String name) |
|
RestParamProperty |
addProperty(java.lang.String name) |
|
void |
addTestPropertyListener(TestPropertyListener listener) |
|
java.lang.String |
buildPath(PropertyExpansionContext context) |
|
RestResource |
cloneChildResource(RestResource resource, java.lang.String name) |
|
RestMethod |
cloneMethod(RestMethod method, java.lang.String name) |
|
RestResource |
cloneResource(RestResource resource, java.lang.String name) |
|
boolean |
containsChannel(java.lang.String path) |
|
boolean |
containsChannelItem(java.lang.String relativePath, java.lang.String channelItem) |
|
boolean |
containsChannelItem(java.lang.String channelItem) |
|
boolean |
containsMethod(java.lang.String httpMethodName) |
|
java.lang.String |
createRequest(boolean b) |
|
java.lang.String |
createResponse(boolean b) |
|
void |
deleteMethod(RestMethod method) |
|
void |
deleteResource(RestResource resource) |
|
RestResource[] |
getAllChildResources() |
|
AttachmentEncoding |
getAttachmentEncoding(java.lang.String part, boolean isRequest) |
|
AuthProfileHolder |
getAuthProfileHolder() |
|
RestResource |
getChildResourceAt(int c) |
|
RestResource |
getChildResourceByName(java.lang.String name) |
|
int |
getChildResourceCount() |
|
java.util.List<RestResource> |
getChildResourceList() |
|
java.util.List<? extends ModelItem> |
getChildren() |
|
RestParamProperty[] |
getDefaultParams() |
|
MessagePart[] |
getDefaultRequestParts() |
|
MessagePart[] |
getDefaultResponseParts() |
|
java.lang.String |
getFullPath() |
|
java.lang.String |
getFullPath(boolean includeBasePath) |
|
AbstractRestService |
getInterface() |
|
ModelItem |
getModelItem() |
|
RestParamsPropertyHolder |
getParams() |
|
RestResource |
getParentResource() |
|
java.lang.String |
getPath() |
|
java.util.Map<java.lang.String, TestProperty> |
getProperties() |
|
java.lang.String |
getPropertiesLabel() |
|
RestParamProperty |
getProperty(java.lang.String name) |
|
RestParamProperty |
getPropertyAt(int index) |
|
int |
getPropertyCount() |
|
java.util.List<TestProperty> |
getPropertyList() |
|
java.lang.String[] |
getPropertyNames() |
|
java.lang.String |
getPropertyValue(java.lang.String name) |
|
RestRequest |
getRequestAt(int index) |
|
RestRequest |
getRequestByName(java.lang.String name) |
|
int |
getRequestCount() |
|
java.util.List<Request> |
getRequestList() |
|
java.lang.String[] |
getRequestMediaTypes() |
|
RestResourceContainer |
getResourceContainer() |
|
java.lang.String[] |
getResponseMediaTypes() |
|
RestMethod |
getRestMethodAt(int c) |
|
RestMethod |
getRestMethodByName(java.lang.String name) |
|
int |
getRestMethodCount() |
|
java.util.List<RestMethod> |
getRestMethodList() |
|
AbstractRestService |
getService() |
|
RestResource |
getTopLevelResource() |
|
boolean |
hasProperty(java.lang.String name) |
|
void |
initWsdlModelItemOrder(java.util.List<? extends AbstractWsdlModelItem> sortedRestResourceList) |
|
boolean |
isBidirectional() |
|
boolean |
isNotification() |
|
boolean |
isOneWay() |
|
boolean |
isRequestResponse() |
|
boolean |
isSolicitResponse() |
|
boolean |
isUnidirectional() |
|
boolean |
isUpdated() |
|
boolean |
isValidChannelName(java.lang.String path) |
|
boolean |
isValidPropertyValue(java.lang.Object propertyOwner, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) |
|
void |
moveChildResource(int index, int offset) |
|
void |
moveProperty(java.lang.String propertyName, int targetIndex) |
|
void |
moveRequest(int ix, int offset) |
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
|
void |
release() |
|
static java.lang.String |
removeMatrixParams(java.lang.String path) |
|
RestParamProperty |
removeProperty(java.lang.String propertyName) |
|
void |
removeTestPropertyListener(TestPropertyListener listener) |
|
boolean |
renameProperty(java.lang.String name, java.lang.String newName) |
|
void |
resetConfigOnMove(ModelItemConfig config) |
|
void |
setPath(java.lang.String path) |
|
void |
setPropertyValue(java.lang.String name, java.lang.String value) |
|
void |
setUpdated(boolean updated) |
|
java.lang.String |
toString() |
ReadyAPI functional (soapui) SDK 3.20.1