- execute
Execute request without returning data from server.
Call responseAsString, responseAsBytes, or re
- getConnection
Get the underlying HttpURLConnection object, allowing clients to set/get
properties not exposed here
- responseAsInputStream
Return response body data from server as an InputStream. The InputStream must
be closed after use t
- setRequestBody
Set the byte array of request body data to be sent to the server.
- <init>
- responseAsString
Return response body data from server as a String.
Important: you must call execute() before calli
- disconnect
Disconnect the underlying HttpURLConnection. Equivalent to calling:
getConnection.disconnect()
- getLogRequestIdentifier
Get a prefix for the log message to help identify which request is which and
which responses belong
- responseAsBytes
Return response body data from server as a byte array.
Important: you must call execute() before c
- setNumberOfRetries
Sets the number of times this request can be attempted. This method must be
called before #execute()