Package org.jbehave.core.io.rest.xwiki
Class LoadFromXWiki
- java.lang.Object
-
- org.jbehave.core.io.rest.LoadFromREST
-
- org.jbehave.core.io.rest.xwiki.LoadFromXWiki
-
- All Implemented Interfaces:
org.jbehave.core.io.ResourceLoader
public class LoadFromXWiki extends LoadFromREST
Loads resource from XWiki pages using the REST API
-
-
Constructor Summary
Constructors Constructor Description LoadFromXWiki(RESTClient.Type type)
LoadFromXWiki(RESTClient.Type type, String username, String password)
-
Method Summary
Modifier and Type Method Description protected String
text(String entity, RESTClient.Type type)
protected String
uri(String resourcePath, RESTClient.Type type)
-
Methods inherited from class org.jbehave.core.io.rest.LoadFromREST
loadResourceAsText
-
-
-
-
Constructor Detail
-
LoadFromXWiki
public LoadFromXWiki(RESTClient.Type type)
-
LoadFromXWiki
public LoadFromXWiki(RESTClient.Type type, String username, String password)
-
-
Method Detail
-
uri
protected String uri(String resourcePath, RESTClient.Type type)
- Overrides:
uri
in classLoadFromREST
-
text
protected String text(String entity, RESTClient.Type type)
- Overrides:
text
in classLoadFromREST
-
-