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
ConstructorDescriptionLoadFromREST
(RESTClient client) LoadFromREST
(RESTClient.Type type) LoadFromREST
(RESTClient.Type type, String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionloadResourceAsText
(String resourcePath) protected String
text
(String entity, RESTClient.Type type) protected String
uri
(String resourcePath, RESTClient.Type type)
-
Constructor Details
-
LoadFromREST
-
LoadFromREST
-
LoadFromREST
-
-
Method Details
-
loadResourceAsText
- Specified by:
loadResourceAsText
in interfaceorg.jbehave.core.io.ResourceLoader
-
uri
-
text
-