A stringified body (if any) to add to this HttpTask.
A list of headers to add to this HttpTask.
The type of HTTP request to make.
A string containing the URL to direct this HTTP request to.
Converts this HttpTask to JSON.
JSON object
Static
createStatic
decodeStatic
decodeStatic
encodeEncodes the specified HttpTask message. Does not implicitly {@apilink oracle_job.OracleJob.HttpTask.verify|verify} messages.
HttpTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified HttpTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.HttpTask.verify|verify} messages.
HttpTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromStatic
getGets the default type url for HttpTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toStatic
verifyVerifies a HttpTask message.
Plain object to verify
null
if valid, otherwise the reason why it is not
The adapter will report the text body of a successful HTTP request to the specified url, or return an error if the response status code is greater than or equal to 400.
Input: None
Returns: String representation of the http response.
Example: Basic HttpTask
Example: HttpTask example with headers