public class SpecsResource extends Object
| Constructor and Description |
|---|
SpecsResource(RestxSpecRepository repository,
RestxSpec.StorageSettings storageSettings) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<String> |
findSpecsForOperation(String httpMethod,
String path) |
com.google.common.base.Optional<RestxSpec> |
getSpecById(String id) |
com.google.common.base.Optional<ThenHttpResponse> |
updateSpecThenHttp(String id,
int wtsIndex,
ThenHttpResponse response) |
public SpecsResource(RestxSpecRepository repository, RestxSpec.StorageSettings storageSettings)
public com.google.common.base.Optional<ThenHttpResponse> updateSpecThenHttp(String id, int wtsIndex, ThenHttpResponse response) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.