void
|
addBody(OutputStream out)
|
void
|
addJsonDataParam()
|
abstract
void
|
addRequestParameters()
|
abstract
void
|
addRequestProperties()
|
URL
|
buildURL(Map<String, String> params, boolean isPost, boolean sanitize)
builds up the query to be executed with any additional parameters specified by the child request@return
|
String
|
executeStringContentType()
@return
|
static
String
|
getCookieFromResponseHeader(Map<String, List<String>> headers, String cookieName)
|
static
String
|
getErrorDetails(HttpURLConnection urlConn)
In case of error gets error details
|
String
|
getJsonStringIfExists(JSONObject json, String key)
|
String
|
getResponseFromRequest()
|
static
void
|
handleErrorCodes(int responseCode, String errorDetails)
Throws the appropriate Usher Error code depending on type of error
|
abstract
void
|
handleResponse(String result)
|
abstract
void
|
handleResponse(InputStream imageStream, String contentType, Map<String, List<String>> headers)
|
static
String
|
makePath(String url, String params)
Helper function to generate new URL by connecting a path with a given URL.
|
void
|
setResponseFromRequest(String responseFromRequest)
|