Package io.polyapi.plugin.service
Class SpecificationServiceImpl
java.lang.Object
io.polyapi.commons.api.service.PolyApiService
io.polyapi.plugin.service.SpecificationServiceImpl
- All Implemented Interfaces:
SpecificationService
-
Constructor Summary
ConstructorsConstructorDescriptionSpecificationServiceImpl(HttpClient client, JsonParser jsonParser, String host, Integer port) -
Method Summary
Modifier and TypeMethodDescriptionRetrieve all the JSON specifications in Poly.
-
Constructor Details
-
SpecificationServiceImpl
public SpecificationServiceImpl(HttpClient client, JsonParser jsonParser, String host, Integer port)
-
-
Method Details
-
list
Description copied from interface:SpecificationServiceRetrieve all the JSON specifications in Poly.- Specified by:
listin interfaceSpecificationService- Parameters:
contextFilters- The contexts that should be used to filter the specifications.- Returns:
- String A JSON containing the specifications.
-