类 CosXmlResult

    • 字段概要

      字段 
      修饰符和类型 字段 说明
      java.lang.String accessUrl
      访问 object 的地址.
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers
      http headers
      java.lang.String host
      最终响应结果的host
      int httpCode
      http状态码
      java.lang.String httpMessage
      http状态信息
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String getHeader​(java.lang.String key)  
      void parseResponseBody​(com.tencent.qcloud.core.http.HttpResponse response)
      根据HttpResponse解析相关内容
      java.lang.String printResult()
      返回转换后的字符串
      protected void xmlParser​(com.tencent.qcloud.core.http.HttpResponse response)
      收拢xml解析
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • host

        public java.lang.String host
        最终响应结果的host
      • httpCode

        public int httpCode
        http状态码
      • httpMessage

        public java.lang.String httpMessage
        http状态信息
      • headers

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers
        http headers
      • accessUrl

        public java.lang.String accessUrl
        访问 object 的地址.
    • 构造器详细资料

      • CosXmlResult

        public CosXmlResult()
    • 方法详细资料

      • printResult

        public java.lang.String printResult()
        返回转换后的字符串
      • xmlParser

        protected void xmlParser​(com.tencent.qcloud.core.http.HttpResponse response)
                          throws org.xmlpull.v1.XmlPullParserException,
                                 java.io.IOException
        收拢xml解析
        抛出:
        org.xmlpull.v1.XmlPullParserException
        java.io.IOException
      • getHeader

        @Nullable
        public java.lang.String getHeader​(java.lang.String key)