Class NetworkTask


  • public class NetworkTask
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ResponseData request​(java.lang.String url, java.lang.String method, java.lang.String body, java.util.Map<java.lang.String,​java.lang.String> header)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NetworkTask

        public NetworkTask()
      • NetworkTask

        public NetworkTask​(INetwork network)
    • Method Detail

      • request

        public ResponseData request​(java.lang.String url,
                                    java.lang.String method,
                                    java.lang.String body,
                                    java.util.Map<java.lang.String,​java.lang.String> header)
                             throws java.io.IOException
        Throws:
        java.io.IOException