主要内容

使用HTTP与MATLAB

与Web服务通信使用HTTP(超文本传输协议)

MATLAB®RESTful web服务功能webread,websave,webwrite和支持功能金宝appweboptions允许非程序员访问许多web服务使用HTTP GET和POST方法。这些函数的信息,请参阅Web服务

然而,一些与web服务交互,需要更加复杂的功能不支持的基于rest的web服务功能。金宝appMATLAB HTTP接口提供了编写web访问应用程序类。接口包括类的消息,他们的头和字段,和其他实体中定义因特网工程任务组(IETF®)标准。HTTP消息的接口包含函数,实现语义和公用事业进行处理数据发送和接收。它还包含支持类需要过程,发送和接收金宝app消息。

开发宣传

matlab.net.http.RequestMessage HTTP请求消息
matlab.net.http.ResponseMessage HTTP响应消息
matlab.net.http.Message HTTP请求或响应消息
matlab.net.http.MessageType HTTP消息类型
matlab.net.http.MessageBody 的HTTP消息体
matlab.net.http.ProtocolVersion HTTP协议版本
matlab.net.http.RequestLine 第一行的HTTP请求消息
matlab.net.http.RequestMethod HTTP请求方法
matlab.net.http.StartLine 第一行的HTTP消息
matlab.net.http.StatusClass 状态类的HTTP响应
matlab.net.http.StatusCode 在HTTP响应状态码
matlab.net.http.StatusLine 第一行的HTTP响应消息
matlab.net.http.HeaderField HTTP消息头字段
matlab.net.http.field.AcceptField HTTP Accept标头字段
matlab.net.http.field.AuthenticateField HTTP WWW-Authenticate或Proxy-Authenticate头字段
matlab.net.http.field.AuthenticationInfoField HTTP Authentication-Info响应消息头字段
matlab.net.http.field.AuthorizationField HTTP授权或Proxy-Authorization头字段
matlab.net.http.field.ContentDispositionField HTTP的附加头字段
matlab.net.http.field.ContentLengthField HTTP内容长度字段
matlab.net.http.field.ContentLocationField HTTP内容定位头字段
matlab.net.http.field.ContentTypeField HTTP的content - type报头字段
matlab.net.http.field.CookieField HTTP Cookie头字段
matlab.net.http.field.DateField HTTP日期头字段
matlab.net.http.field.GenericField HTTP报头字段的名称和值
matlab.net.http.field.GenericParameterizedField GenericField支持参数金宝app化的语法
matlab.net.http.field.HTTPDateField HTTP报头包含日期字段
matlab.net.http.field.IntegerField 基类为HTTP报头字段包含非负整数
matlab.net.http.field.LocationField HTTP头字段位置
matlab.net.http.field.MediaRangeField HTTP内容类型的基类和Accept标头字段
matlab.net.http.field.SetCookieField HTTP set - cookie头字段
matlab.net.http.field.URIReferenceField HTTP报头包含URI的字段组件的基类
matlab.net.http.io.ContentConsumer 消费者对于HTTP消息有效负载
matlab.net.http.io.FileConsumer 消费者在HTTP消息的文件
matlab.net.http.io.StringConsumer 字符串消费者对于HTTP负载
matlab.net.http.io.JSONConsumer 将JSON转换输入的内容消费MATLAB数据
matlab.net.http.io.ImageConsumer 消费者对图像数据HTTP负载
matlab.net.http.io.MultipartConsumer 助手在HTTP消息多部分内容类型
matlab.net.http.io.BinaryConsumer 消费者在HTTP消息二进制数据
matlab.net.http.io.GenericConsumer 消费者多种内容类型的HTTP消息
matlab.net.http.io.ContentProvider ContentProvider HTTP消息负载
matlab.net.http.io.FileProvider 内容提供者发送文件
matlab.net.http.io.FormProvider 内容提供者发送表单数据
matlab.net.http.io.MultipartFormProvider ContentProvider多部分/格式发送消息
matlab.net.http.io.StringProvider 内容提供者发送MATLAB字符串
matlab.net.http.io.JSONProvider 内容提供者发送MATLAB数据作为JSON字符串
matlab.net.http.io.ImageProvider 内容提供者发送MATLAB图像数据
matlab.net.http.io.MultipartProvider 内容提供者发送多部分/混合HTTP消息
matlab.net.http.io.GenericProvider 通用ContentProvider HTTP负载
matlab.net.http.AuthenticationScheme HTTP身份验证方案
matlab.net.http.AuthInfo 在HTTP消息身份验证或授权信息
matlab.net.http.Cookie 收到服务器的HTTP cookie
matlab.net.http.CookieInfo HTTP cookie信息
matlab.net.http.Credentials 为HTTP请求进行身份验证凭据
matlab.net.http.Disposition 结果在HTTP日志记录
matlab.net.http.HTTPException 异常抛出的HTTP服务
matlab.net.http.HTTPOptions 选择控制HTTP消息交换
matlab.net.http.LogRecord HTTP历史日志记录
matlab.net.http.MediaType 互联网媒体类型用于HTTP头
matlab.net.http.ProgressMonitor 进度监控HTTP消息交换
matlab.net.URI 统一资源标识符(URI)
matlab.net.ArrayFormat 把数组在HTTP查询
matlab.net.QueryParameter 参数查询的部分统一资源标识符(URI)

函数

matlab.net.base64decode 基地64解码字符串
matlab.net.base64encode Base 64编码的字节字符串或向量

matlab.net.http 总结的包和类MATLABHTTP接口
matlab.net.http.field 总结标题字段类MATLABHTTP接口
matlab.net.http.io 流媒体内容消费者和提供者对于HTTP消息

Rubriques