|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Pipeline2WSException | |
---|---|
org.daisy.pipeline.client | |
org.daisy.pipeline.client.models | |
org.daisy.pipeline.utils |
Uses of Pipeline2WSException in org.daisy.pipeline.client |
---|
Methods in org.daisy.pipeline.client that throw Pipeline2WSException | |
---|---|
java.io.InputStream |
Pipeline2WSResponse.asStream()
Returns the response body as a InputStream. |
java.lang.String |
Pipeline2WSResponse.asText()
Returns the response body as a String. |
org.w3c.dom.Document |
Pipeline2WSResponse.asXml()
Returns the response body as an XML Document. |
static Pipeline2WSResponse |
Scripts.get(java.lang.String endpoint,
java.lang.String username,
java.lang.String secret)
Get all scripts HTTP 200 OK: Response body contains XML data HTTP 401 Unauthorized: Client was not authorized to perform request. |
static Pipeline2WSResponse |
Jobs.get(java.lang.String endpoint,
java.lang.String username,
java.lang.String secret)
Get all jobs HTTP 200 OK: Response body contains XML data HTTP 401 Unauthorized: Client was not authorized to perform request. |
static Pipeline2WSResponse |
Scripts.get(java.lang.String endpoint,
java.lang.String username,
java.lang.String secret,
java.lang.String id)
Get a single script HTTP 200 OK: Response body contains XML data HTTP 401 Unauthorized: Client was not authorized to perform request. |
static Pipeline2WSResponse |
Jobs.get(java.lang.String endpoint,
java.lang.String username,
java.lang.String secret,
java.lang.String id,
java.lang.Integer fromSequence)
Get a single job HTTP 200 OK: Response body contains XML data HTTP 401 Unauthorized: Client was not authorized to perform request. |
static Pipeline2WSResponse |
Pipeline2WS.get(java.lang.String endpoint,
java.lang.String path,
java.lang.String username,
java.lang.String secret,
java.util.Map<java.lang.String,java.lang.String> parameters)
Send a GET request. |
static Pipeline2WSResponse |
Jobs.getLog(java.lang.String endpoint,
java.lang.String username,
java.lang.String secret,
java.lang.String id)
Get the log file for a job HTTP 200 OK: Response body contains plain text data HTTP 401 Unauthorized: Client was not authorized to perform request. |
static Pipeline2WSResponse |
Jobs.getResult(java.lang.String endpoint,
java.lang.String username,
java.lang.String secret,
java.lang.String id)
Get the result for a job HTTP 200 OK: Response body contains Zip data HTTP 401 Unauthorized: Client was not authorized to perform request. |
static Pipeline2WSResponse |
Jobs.post(java.lang.String endpoint,
java.lang.String username,
java.lang.String secret,
java.lang.String href,
java.util.List<Argument> arguments,
java.io.File contextZipFile,
java.util.Map<java.lang.String,java.lang.String> callbacks)
Create a job with files HTTP 201 Created: The URI of the new job is found in the HTTP location header HTTP 400 Bad Request: Errors in the parameters such as invalid script name HTTP 401 Unauthorized: Client was not authorized to perform request. |
static Pipeline2WSResponse |
Pipeline2WS.postMultipart(java.lang.String endpoint,
java.lang.String path,
java.lang.String username,
java.lang.String secret,
java.util.Map<java.lang.String,java.io.File> parts)
POST a multipart request. |
static Pipeline2WSResponse |
Pipeline2WS.postXml(java.lang.String endpoint,
java.lang.String path,
java.lang.String username,
java.lang.String secret,
org.w3c.dom.Document xml)
POST an XML document. |
static java.lang.String |
Pipeline2WS.url(java.lang.String endpoint,
java.lang.String path,
java.lang.String username,
java.lang.String secret,
java.util.Map<java.lang.String,java.lang.String> parameters)
Sign a URL for communication with a Pipeline 2 Web Service running in authenticated mode. |
Uses of Pipeline2WSException in org.daisy.pipeline.client.models |
---|
Methods in org.daisy.pipeline.client.models that throw Pipeline2WSException | |
---|---|
static java.util.List<Job> |
Job.getJobs(org.w3c.dom.Node jobsXml)
Parse the list of jobs described by the provided XML document/node. |
static java.util.List<Job> |
Job.getJobs(Pipeline2WSResponse response)
Parse the list of jobs described by the provided Pipeline2WSResponse. |
static java.util.List<Script> |
Script.getScripts(org.w3c.dom.Node scriptsXml)
Parse the list of scripts described by the provided XML document/node. |
static java.util.List<Script> |
Script.getScripts(Pipeline2WSResponse response)
Parse the list of scripts described by the provided Pipeline2WSResponse. |
Constructors in org.daisy.pipeline.client.models that throw Pipeline2WSException | |
---|---|
Job(org.w3c.dom.Node jobXml)
Parse the job described by the provided XML document/node. |
|
Job(Pipeline2WSResponse response)
Parse the job described by the provided Pipeline2WSResponse. |
|
Script(org.w3c.dom.Node scriptXml)
Parse the script described by the provided XML document/node. |
|
Script(Pipeline2WSResponse response)
Parse the script described by the provided Pipeline2WSResponse. |
Uses of Pipeline2WSException in org.daisy.pipeline.utils |
---|
Methods in org.daisy.pipeline.utils that throw Pipeline2WSException | |
---|---|
static org.w3c.dom.Node |
XPath.selectNode(java.lang.String expr,
org.w3c.dom.Node doc,
java.util.Map<java.lang.String,java.lang.String> ns)
Select the nodes matching `expr` and return it. |
static java.util.List<org.w3c.dom.Node> |
XPath.selectNodes(java.lang.String expr,
org.w3c.dom.Node doc,
java.util.Map<java.lang.String,java.lang.String> ns)
Select all nodes matching `expr` and return them as a List. |
static java.lang.String |
XPath.selectText(java.lang.String expr,
org.w3c.dom.Node doc,
java.util.Map<java.lang.String,java.lang.String> ns)
Select the node matching `expr` and return its text content. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |