com.xmlcalabash.library
Class HttpRequest
java.lang.Object
com.xmlcalabash.library.DefaultStep
com.xmlcalabash.library.HttpRequest
- All Implemented Interfaces:
- XProcRunnable, XProcStep
public class HttpRequest
- extends DefaultStep
Fields inherited from class com.xmlcalabash.library.DefaultStep |
_byte_order_mark, _cdata_section_elements, _doctype_public, _doctype_system, _encoding, _escape_uri_attributes, _include_content_type, _indent, _media_type, _method, _normalization_form, _omit_xml_declaration, _standalone, _undeclare_prefixes, _version, logger, runtime, step |
Methods inherited from class com.xmlcalabash.library.DefaultStep |
error, evaluateXPath, fine, finer, finest, getOption, getOption, getOption, getOption, getOption, getStep, info, makeSerializer, setOption, setParameter, setParameter, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_href
public static final net.sf.saxon.s9api.QName _href
_detailed
public static final net.sf.saxon.s9api.QName _detailed
_status_only
public static final net.sf.saxon.s9api.QName _status_only
_username
public static final net.sf.saxon.s9api.QName _username
_password
public static final net.sf.saxon.s9api.QName _password
_auth_method
public static final net.sf.saxon.s9api.QName _auth_method
_send_authorization
public static final net.sf.saxon.s9api.QName _send_authorization
_override_content_type
public static final net.sf.saxon.s9api.QName _override_content_type
_content_type
public static final net.sf.saxon.s9api.QName _content_type
_name
public static final net.sf.saxon.s9api.QName _name
_value
public static final net.sf.saxon.s9api.QName _value
_id
public static final net.sf.saxon.s9api.QName _id
_description
public static final net.sf.saxon.s9api.QName _description
_disposition
public static final net.sf.saxon.s9api.QName _disposition
_status
public static final net.sf.saxon.s9api.QName _status
_boundary
public static final net.sf.saxon.s9api.QName _boundary
_charset
public static final net.sf.saxon.s9api.QName _charset
HttpRequest
public HttpRequest(XProcRuntime runtime,
XAtomicStep step)
- Creates a new instance of HttpRequest
setInput
public void setInput(java.lang.String port,
ReadablePipe pipe)
- Specified by:
setInput
in interface XProcStep
- Overrides:
setInput
in class DefaultStep
setOutput
public void setOutput(java.lang.String port,
WritablePipe pipe)
- Specified by:
setOutput
in interface XProcStep
- Overrides:
setOutput
in class DefaultStep
reset
public void reset()
- Specified by:
reset
in interface XProcRunnable
- Overrides:
reset
in class DefaultStep
run
public void run()
throws net.sf.saxon.s9api.SaxonApiException
- Specified by:
run
in interface XProcRunnable
- Overrides:
run
in class DefaultStep
- Throws:
net.sf.saxon.s9api.SaxonApiException
readBodyContentPart
public void readBodyContentPart(TreeWriter tree,
java.io.InputStream bodyStream,
java.lang.String contentType,
java.lang.String charset)
throws net.sf.saxon.s9api.SaxonApiException,
java.io.IOException
- Throws:
net.sf.saxon.s9api.SaxonApiException
java.io.IOException