matlab.net.http.Logrocord类
包裹:matlab.net.http
HTTP历史记录记录
描述
一个向量LogRecord
对象表示在HTTP操作期间客户端和服务器之间交换的请求响应消息对的历史记录,例如要求Message.send
。这发送
方法将历史记录作为输出参数返回。发生错误时,httpexception
对象包含一个历史
财产。
使用LogRecord
调试课程。
特性
Uri
-Uriof request
matlab.net.uri
要求
-请求消息
matlab.net.http.RequestMessage
目的
请求消息, specified as amatlab.net.http.RequestMessage
目的。要求
如果MATLAB,则包含一个值®即使在发送有效载荷的过程中发生例外,也尝试发送请求消息的标题。如果发生例外,那么Exception
属性包含mexception
。
这请求
属性包含请求消息的正文(如果有)。这request.body.payload
仅当您指定SavePayload
属性httpoptions
目的。
属性:
GetAccess |
public
|
setAccess |
public
|
请求时间
-请求消息的开始和结束时间
双约会时间
对象
请求消息的开始和结束时间,指定为一对约会时间
对象。请求时间
仅在要求
设置属性。
这请求时间
值是一个近似的时候first and last bytes, including the payload, of a request message were sent. If an exception occurs during transmission, then the end time is the time of the exception, and theException
属性包含mexception
。
属性:
GetAccess |
public
|
setAccess |
public
|
数据类型:约会时间
Response
-响应消息
matlab.net.http.Responsemessage
目的
响应消息,指定为matlab.net.http.Responsemessage
目的。Response
仅在complete header of the response is received successfully, even if an exception occurs receiving the payload. If an exception occurs while trying to send the request or during receipt of the header, thenResponse
可能是空的。如果发生例外,那么Exception
属性包含mexception
目的。
这Response.Body
如果您指定SavePayload
属性httpoptions
对象和响应具有身体。如果Response.Body
设置,然后响应body.payload
还设置了属性。
属性:
GetAccess |
public
|
setAccess |
public
|
响应时间
-响应消息的开始和结束时间
双约会时间
对象
响应消息的开始和结束时间,指定为一对约会时间
对象。响应时间
仅在Response
设置属性。
这响应时间
值是接收响应消息的第一个和最后一个字节的时间的近似值。如果在收据期间发生异常,则结束时间是例外的时间,然后Exception
属性包含mexception
目的。
属性:
GetAccess |
public
|
setAccess |
public
|
数据类型:约会时间
处置
-交换的处置
matlab.net.http.disposition
枚举
交换的处置,指定为matlab.net.http.disposition
枚举, indicating the result of the exchange. If the处置
值是完毕
,然后Exception
属性是空的,LogRecord
包含其最终值。
一些值处置
暗示一个例外是保存在Exception
财产。如果发生例外,Response
or要求
可能无法设置属性。设置这些值时,取决于异常是在标题传输之前还是在有效载荷传输之前还是期间发生。
属性:
GetAccess |
public
|
setAccess |
public
|
Exception
-Exception
mexception
例外,指定为mexception
交换过程中发生的对象。如果在响应的传输,收据或处理过程中发生错误,则此属性是mexception
包含例外。价值处置
属性确定是否设置了此属性。
属性:
GetAccess |
public
|
setAccess |
public
|
版本历史记录
也可以看看
matlab命令
您单击了与此MATLAB命令相对应的链接:
通过在MATLAB命令窗口中输入该命令。Web浏览器不支持MATLAB命令。万博1manbetx
您还可以从以下列表中选择一个网站:
如何获得最佳网站性能
选择中国网站(中文或英语)以获得最佳场地性能。其他Mathworks乡村网站未针对您所在的访问进行优化。
美洲
- América Latina(Español)
- 加拿大(英语)
- 美国(英语)