Class HttpUtil


  • public class HttpUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static HttpResponse doGet​(java.lang.String urlString)  
      static HttpResponse doPost​(java.lang.String urlString, java.lang.String postBody)  
      static HttpResponse postMultipart​(java.lang.String urlString, java.util.Map<java.lang.String,​java.lang.Object> postParams, ImageType forcedImageType)  
      • 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

      • doGet

        public static HttpResponse doGet​(java.lang.String urlString)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • doPost

        public static HttpResponse doPost​(java.lang.String urlString,
                                          java.lang.String postBody)
                                   throws java.io.IOException
        Throws:
        java.io.IOException