matlab.net.http.HeaderField类
Package:matlab.net.http.
Header field of HTTP message
Description
Use theHeaderField
类来实现HTTP消息的标题字段。该类提供了标题和MATLAB中字符串之间的转换®objects, arrays, and structures. Although you can set theHeaderField
properties to arbitrary values, HTTP header fields have constraints on the allowed characters.
TheName
属性定义标题字段类型。MATLAB为常用字段提供子类matlab.net.http.。field
package. To see a list of supported subclasses, call theHeaderField.displaySubclasses
方法。
Creation
Description
Properties
方法
Examples
提示
The
HeaderField
构造函数创建类的字段HeaderField
。To create a field of a class defined in thematlab.net.http.。field
包,请使用子类构造函数。对于子类列表,请致电HeaderField.displaySubclasses
方法。例如
matlab.net.http.。field.DateField
subclass creates a Date header field. If you use theHeaderField
类创建日期字段,DateField
class interprets and enforces the value, even thoughHeaderField
is not an instance ofDateField
。Likewise, if you convert the field value to a MATLAB约会时间
价值,datefield.convert.Convert.
method is used.If the
HeaderField
constructor rejects theName
和价值
arguments, use theGenericField
类构造函数。