Package org.jbehave.core.io.rest
Class LoadFromREST
java.lang.Object
org.jbehave.core.io.rest.LoadFromREST
- All Implemented Interfaces:
org.jbehave.core.io.ResourceLoader
- Direct Known Subclasses:
LoadFromRedmine,LoadFromXWiki
Loads resource from REST
-
Constructor Summary
ConstructorsConstructorDescriptionLoadFromREST(RESTClient client) LoadFromREST(RESTClient.Type type) LoadFromREST(RESTClient.Type type, String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionloadResourceAsText(String resourcePath) protected Stringtext(String entity, RESTClient.Type type) protected Stringuri(String resourcePath, RESTClient.Type type)
-
Constructor Details
-
LoadFromREST
-
LoadFromREST
-
LoadFromREST
-
-
Method Details
-
loadResourceAsText
- Specified by:
loadResourceAsTextin interfaceorg.jbehave.core.io.ResourceLoader
-
uri
-
text
-