com.chargebee.internal
Class HttpUtil

java.lang.Object
  extended by com.chargebee.internal.HttpUtil

public class HttpUtil
extends Object


Nested Class Summary
static class HttpUtil.Method
           
 
Constructor Summary
HttpUtil()
           
 
Method Summary
static Result get(String url, Params params, Map<String,String> headers, Environment env)
           
static ListResult getList(String url, Params params, Map<String,String> headers, Environment env)
           
static Result post(String url, Params params, Map<String,String> headers, Environment env)
           
static String toQueryStr(Params map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUtil

public HttpUtil()
Method Detail

get

public static Result get(String url,
                         Params params,
                         Map<String,String> headers,
                         Environment env)
                  throws IOException
Throws:
IOException

getList

public static ListResult getList(String url,
                                 Params params,
                                 Map<String,String> headers,
                                 Environment env)
                          throws IOException
Throws:
IOException

post

public static Result post(String url,
                          Params params,
                          Map<String,String> headers,
                          Environment env)
                   throws IOException
Throws:
IOException

toQueryStr

public static String toQueryStr(Params map)


Copyright © 2015 ChargeBee. All Rights Reserved.