NSURLConnectionDelegate的connection:didReceiveResponse:方法
来源:互联网 发布:mac localhost打不开 编辑:程序博客网 时间:2024/05/16 05:17
connection:didReceiveResponse:
Sent when the connection has received sufficient data to construct the URL response for its request.
Parameters
- connection
The connection sending the message.
- response
The URL response for the connection's request. This object is immutable and will not be modified by the URL loading system once it is presented to the delegate.
Discussion
In rare cases, for example in the case of an HTTP load where the content type of the load data is multipart/x-mixed-replace
, the delegate will receive more than one connection:didReceiveResponse:
message. In the event this occurs, delegates should discard all data previously delivered by connection:didReceiveData:
, and should be prepared to handle the, potentially different, MIME type reported by the newly reported URL response.
The only case where this message is not sent to the delegate is when the protocol implementation encounters an error before a response could be created.
- NSURLConnectionDelegate的connection:didReceiveResponse:方法
- NSURLConnectionDelegate NSURLConnectionDataDelegate
- Connection的方法介绍
- Connection的open方法
- 获取Connection的方法
- Connection的setAutoCommit()方法
- 创建Connection的多种方法
- Connection-通过OracleDriver的基本方法建立Connection连接
- 多种的方法得到数据库的connection
- 创建Connection对象的三种方法
- Database的Connection String编写方法
- 在ADF 中获得Connection 的方法
- ADODB.Connection对象的Execute方法
- SSH connection refused的问题解决方法
- ADODB.Connection对象的Execute方法
- Hibernate中session.connection()的替代方法
- ADODB.Connection对象的Execute方法
- ADODB.Connection对象的Execute方法
- 寻找子串
- Linux小技巧收集
- Spring事务托管配置及session控制
- 自己动手编写嵌入式Bootloader之(3)
- MySQL数据库基础—数据库和表
- NSURLConnectionDelegate的connection:didReceiveResponse:方法
- 关于存储器映射、存储器重映射、内存映射、地址映射、地址转换等计算机专业名词详解
- 对stdin,stdout 和STDOUT_FILENO,STDIN_FILENO的学习
- http://blog.bingo929.com/web-ui-design-name-convention.html
- add-apt-repository
- 关于敏捷开发的26个心得
- 浅谈多进程多线程的选择
- java sleep与wait的区别
- C语言条件编译详解