Namespace com.teracloud.streams.inet.http
A set of operators that interact with external HTTP servers.
To dispatch arbitrary requests to an http server use operator HTTPRequest. Additionally the C++ Native Functions may be used to dispatch requests form a SPL-Custom operator.
The operator HTTPGetXMLContent periodically connects to an HTTP endpoint to GET XML content as a single tuple.
The operator HTTPParallelRequest issues HTTP requests in parallel asynchronously from the input stream
- HTTPS Support
- Overview of HTTP and HTTPS support for com.teracloud.streams.inet.http operators.
Operators
- HTTPGetJSONContent: This operator is deprecated. Use HTTPRequest operator instead.
- HTTPGetStream: This operator is deprecated. Use HTTPRequest operator instead.
- HTTPGetXMLContent: Periodically connects to an HTTP endpoint to GET XML content as a single tuple.
- HTTPParallelRequest: The operator HTTPParallelRequest issues HTTP requests in parallel asynchronously from the input stream.
- HTTPPost: This operator is deprecated. Use HTTPRequest operator instead.
- HTTPRequest: Issue an HTTP request of the specified method for each input tuple.
Functions
- httpDelete(rstring, list<rstring>, rstring, rstring, int32): HTTP DELETE on the given url, using the username and password, if present.
- httpDelete(rstring, list<rstring>, rstring, rstring, int32, int32, int32): HTTP DELETE on the given url, using the username and password, if present.
- httpDelete(rstring, list<rstring>, rstring, rstring, rstring, rstring, rstring, rstring, rstring, int32, int32, int32): HTTP DELETE on the given url, using the username and password, if present and certificates.
- httpGet(rstring, list<rstring>, rstring, rstring, int32): HTTP GET on the given url, using the username and password, if present.
- httpGet(rstring, list<rstring>, rstring, rstring, int32, int32, int32): HTTP GET on the given url, using the username and password, if present.
- httpGet(rstring, list<rstring>, rstring, rstring, list<rstring>, int32): HTTP GET on the given url, using the username and password, if present.
- httpGet(rstring, list<rstring>, rstring, rstring, list<rstring>, int32, int32, int32): HTTP GET on the given url, using the username and password, if present.
- httpGet(rstring, list<rstring>, rstring, rstring, rstring, rstring, rstring, rstring, rstring, list<rstring>, int32, int32, int32): HTTP GET on the given url, using the username and password, if present, and using certificates/private keys.
- httpPost(rstring, rstring, list<rstring>, rstring, rstring, list<rstring>, int32): HTTP POST data to the given url using the username and password (if non-empty).
- httpPost(rstring, rstring, list<rstring>, rstring, rstring, list<rstring>, int32, int32, int32): HTTP POST data to the given url using the username and password (if non-empty).
- httpPost(rstring, rstring, list<rstring>, rstring, rstring, rstring, rstring, rstring, rstring, rstring, list<rstring>, int32, int32, int32): HTTP POST data to the given url using the username and password (if non-empty).
- httpPut(rstring, rstring, list<rstring>, rstring, rstring, list<rstring>, int32): HTTP PUT data to the given url using the username and password given if not empty.
- httpPut(rstring, rstring, list<rstring>, rstring, rstring, list<rstring>, int32, int32, int32): HTTP PUT data to the given url using the username and password given if not empty.
- httpPut(rstring, rstring, list<rstring>, rstring, rstring, rstring, rstring, rstring, rstring, rstring, list<rstring>, int32, int32, int32): HTTP PUT data to the given url using the username and password given if not empty.
- passThrough(rstring): This function passes the input string unchanged
- urlDecode(rstring): Decode a URL encoded rstring.
- urlEncode(rstring): URL encode the given rstring.
Types
- HTTPParallelRequest.HttpMethod: This type determines the kind of the http operation values are httpGet, httpPut, httpPost, httpDelete
- HTTPResponse: Output Stream Schema for HTTP operators