matlab.net.http.field.IntegerField class

Package: matlab.net.http.field
Superclasses: matlab.net.http.HeaderField

Base class for HTTP header fields containing nonnegative integers

Description

Use the IntegerField class to construct a header field containing a nonnegative integer, for which there is no existing class in the matlab.net.http.field package.

Construction

obj = matlab.net.http.field.IntegerField(name,value) creates an HTTP header field with the Name property set to name and the Value property set to value.

Properties

expand all

Header field name, specified as a string. Any Name, except names shown by the matlab.net.http.HeaderField.displaySubclasses method, can be used.

Integer value, specified as a string representing any real, nonnegative numeric type.

Methods

convert

Value of IntegerField as integer of type double

Introduced in R2016b

Was this topic helpful?