com.github.sd4324530.fastweixin.api.response
类 DownloadMediaResponse

java.lang.Object
  继承者 com.github.sd4324530.fastweixin.api.entity.BaseModel
      继承者 com.github.sd4324530.fastweixin.api.response.BaseResponse
          继承者 com.github.sd4324530.fastweixin.api.response.DownloadMediaResponse
所有已实现的接口:
Model, Serializable

public class DownloadMediaResponse
extends BaseResponse

下载多媒体资源响应对象

作者:
peiyu
另请参见:
序列化表格

构造方法摘要
DownloadMediaResponse()
           
 
方法摘要
 String getFileName()
           
 void setContent(InputStream content, Integer length)
           
 void setFileName(String fileName)
           
 void writeTo(OutputStream out)
          如果成功,则可以靠这个方法将数据输出
 
从类 com.github.sd4324530.fastweixin.api.response.BaseResponse 继承的方法
getErrcode, getErrmsg, setErrcode, setErrmsg
 
从类 com.github.sd4324530.fastweixin.api.entity.BaseModel 继承的方法
toJsonString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DownloadMediaResponse

public DownloadMediaResponse()
方法详细信息

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)

setContent

public void setContent(InputStream content,
                       Integer length)

writeTo

public void writeTo(OutputStream out)
             throws IOException
如果成功,则可以靠这个方法将数据输出

参数:
out - 调用者给的输出流
抛出:
IOException - 写流出现异常


Copyright © 2017. All rights reserved.