public class RestService extends AbstractInterface
Constructor and description |
---|
RestService
(WsdlProject project, RestServiceConfig serviceConfig) |
Type Params | Return Type | Name and description |
---|---|---|
|
RestResource |
addNewResource(java.lang.String name, java.lang.String path) |
|
void |
beforeSave() |
|
RestResource |
cloneResource(RestResource resource, java.lang.String name) |
|
void |
deleteResource(RestResource resource) |
|
boolean |
exportChanges() |
|
java.lang.String |
generateWadlUrl() |
|
Operation[] |
getAllOperations() |
|
java.util.List<RestResource> |
getAllResources() |
|
java.lang.String |
getBasePath() |
|
java.lang.String |
getDefinition() |
|
WadlDefinitionContext |
getDefinitionContext() |
|
java.lang.String |
getInferredSchema() |
|
java.lang.String |
getInterfaceType() |
|
RestResource |
getOperationAt(int index) |
|
RestResource |
getOperationByName(java.lang.String name) |
|
int |
getOperationCount() |
|
java.util.List<Operation> |
getOperationList() |
|
RestResource |
getResourceByFullPath(java.lang.String resourcePath) |
|
java.util.List<RestResource> |
getResourceList() |
|
java.util.Map<java.lang.String, RestResource> |
getResources() |
|
RestResource[] |
getResourcesByFullPath(java.lang.String resourcePath) |
|
java.lang.String |
getTechnicalId() |
|
java.lang.String |
getType() |
|
WadlDefinitionContext |
getWadlContext() |
|
java.lang.String |
getWadlUrl() |
|
java.lang.String |
getWadlVersion() |
|
boolean |
isDefinitionShareble() |
|
boolean |
isGenerated() |
|
void |
release() |
|
void |
setBasePath(java.lang.String basePath) |
|
void |
setExportChanges(boolean exportChanges) |
|
void |
setInferredSchema(java.lang.String inferredSchema) |
|
void |
setWadlUrl(java.lang.String wadlUrl) |