public class HttpRequest extends Object
Constructor and Description |
---|
HttpRequest() |
public RestResponse httpSendGet(String url, Map<String,String> headers) throws IOException
IOException
public RestResponse httpsSendGet(String url, Map<String,String> headers) throws IOException
IOException
public RestResponse httpSendByMethod(String url, String method, String body, Map<String,String> headers) throws IOException
IOException
public RestResponse sendHttpPost(String url, String body, Map<String,String> headers) throws IOException
IOException
public RestResponse httpSendPost(String url, String body, Map<String,String> headers) throws IOException
IOException
public RestResponse httpSendPut(String url, String body, Map<String,String> headers) throws IOException
IOException
public RestResponse httpSendPost(String url, String body, Map<String,String> headers, String methodType) throws IOException
IOException
public RestResponse httpSendDeleteWithBody2(String url, String body, Map<String,String> headers) throws org.apache.http.client.ClientProtocolException, IOException
org.apache.http.client.ClientProtocolException
IOException
public RestResponse httpSendDeleteWithBody(String url, String body, Map<String,String> headers) throws IOException
IOException
public RestResponse httpSendPostWithOutBody(String url, Map<String,String> headers) throws IOException
IOException
public RestResponse httpSendPostMultipart(String url, Map<String,String> headers, String jsonLocation, String zipLocation) throws IOException
IOException
public RestResponse httpSendPostWithAuth(String url, String body, Map<String,String> headers, String username, String password) throws IOException
IOException
public RestResponse httpSendDelete(String url, Map<String,String> headers) throws IOException
IOException
public static RestResponse sendHttpPostWithEntity(org.apache.http.HttpEntity requestEntity, String url, Map<String,String> headers) throws IOException, org.apache.http.client.ClientProtocolException
IOException
org.apache.http.client.ClientProtocolException
Copyright © 2017. All rights reserved.