public class HttpUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpUtils.TrustAllStrategy
Trust all certificates.
|
Constructor and Description |
---|
HttpUtils() |
Modifier and Type | Method and Description |
---|---|
static ResponseEntity |
post(String url,
Map<String,String> headers,
org.apache.http.HttpEntity entity) |
static org.apache.http.client.entity.UrlEncodedFormEntity |
toEncodedFormEntity(Object object) |
public static org.apache.http.client.entity.UrlEncodedFormEntity toEncodedFormEntity(Object object) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2016–2017. All rights reserved.