All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
private void |
addFilePart(String fieldName,
File uploadFile,
PrintWriter writer,
OutputStream outputStream,
String boundary) |
private void |
addFormField(String key,
String value,
PrintWriter writer,
String boundary) |
String |
authorizationHeader() |
protected HttpURLConnection |
buildConnection(Http.RequestMethod requestMethod,
String urlString,
Map<String,String> headers) |
protected Map<String,String> |
constructHeaders(String acceptType,
String contentType) |
NodeWrapper |
delete(String url) |
private void |
finish(PrintWriter writer,
String boundary) |
protected String |
formatSanitizeBodyForLog(String body) |
NodeWrapper |
get(String url) |
protected String |
getCurrentTime() |
protected SSLSocketFactory |
getSSLSocketFactory() |
protected String |
httpDo(Http.RequestMethod requestMethod,
String url,
String postBody,
File file,
HttpURLConnection connection,
Map<String,String> headers,
String boundary) |
private static boolean |
isErrorCode(int responseCode) |
NodeWrapper |
post(String url) |
NodeWrapper |
post(String url,
Request request) |
NodeWrapper |
post(String url,
String request) |
NodeWrapper |
postMultipart(String url,
String request,
File file) |
NodeWrapper |
put(String url) |
NodeWrapper |
put(String url,
Request request) |
static void |
throwExceptionIfErrorStatusCode(int statusCode,
String message) |
private NodeWrapper |
xmlHttpRequest(Http.RequestMethod requestMethod,
String url) |
private NodeWrapper |
xmlHttpRequest(Http.RequestMethod requestMethod,
String url,
String postBody,
File file) |