public class WebServiceResource extends StringConditionResource
The supported web services are REST, WEBHANDLER and SOAP. The syntax is enforced only for exact matches:
REST:HTTP-METHOD:/path/to/apiWEBHANDLER:HTTP-METHOD:/path/to/apiSOAP:HTTP-METHOD:/path/to/endpoint:namespace/binding/operation
The web service path or SOAP endpoint are all relative to the basepath, and any address set
at the service implementation LegacyService.address() annotation. So, if the basepath is
/rest/ and the address set is foo, the resolved path is
/rest/foo/path/to/api.
For SOAP, the target operation must be specified via the namespace/binding/operation triplet.
objectPointer, resourceIndex, sm| Constructor and Description |
|---|
WebServiceResource() |
| Modifier and Type | Method and Description |
|---|---|
Rights |
getRightsInstance(java.lang.Object[] rights)
Instantiates a plugin's class that implements the
Rights interface, using
the array of objects representing a set of access rights fields. |
java.lang.String |
getTypeName()
Returns the plugin resource type name as a string.
|
boolean |
isInstanceNameValid(java.lang.String resource)
Checks whether a given string is a valid resource name for this resource type.
|
describeRights, isAllowed, isRightsSetValidassociate, attach, disassociate, getACLMatcher, getEnclosingScope, getLibrary, getLink, getPermissions, init, refresh, registeredAs, toStringgetLibraries, getLibraryClasses, getLibsByClass, getVariableList, getVariablespublic java.lang.String getTypeName()
getTypeName in interface ResourcegetTypeName in class StringConditionResourcepublic Rights getRightsInstance(java.lang.Object[] rights)
Rights interface, using
the array of objects representing a set of access rights fields.getRightsInstance in interface ResourcegetRightsInstance in class StringConditionResourcerights - The objects needed to create an access rights instance.public boolean isInstanceNameValid(java.lang.String resource)
isInstanceNameValid in interface ResourceisInstanceNameValid in class StringConditionResourceresource - A string naming a resource.true if the name is syntactically correct.