Package org.jbehave.core.io.rest.xwiki
Class UploadToXWiki
- java.lang.Object
-
- org.jbehave.core.io.rest.UploadToREST
-
- org.jbehave.core.io.rest.xwiki.UploadToXWiki
-
- All Implemented Interfaces:
ResourceUploader
public class UploadToXWiki extends UploadToREST
Uploads resource to XWiki pages using the REST API
-
-
Constructor Summary
Constructors Constructor Description UploadToXWiki(RESTClient.Type type)
UploadToXWiki(RESTClient.Type type, String username, String password)
-
Method Summary
Modifier and Type Method Description protected String
entity(Resource resource, RESTClient.Type type)
-
Methods inherited from class org.jbehave.core.io.rest.UploadToREST
uploadResource, uri
-
-
-
-
Constructor Detail
-
UploadToXWiki
public UploadToXWiki(RESTClient.Type type)
-
UploadToXWiki
public UploadToXWiki(RESTClient.Type type, String username, String password)
-
-
Method Detail
-
entity
protected String entity(Resource resource, RESTClient.Type type)
- Overrides:
entity
in classUploadToREST
-
-