Documentation

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 theIntegerFieldclass to construct a header field containing a nonnegative integer, for which there is no existing class in thematlab.net.http.fieldpackage.

Construction

obj = matlab.net.http.field.IntegerField(name,value)creates an HTTP header field with theNameproperty set tonameand theValueproperty set tovalue.

Properties

expand all

Header field name, specified as a string. AnyName, except names shown by thematlab.net.http.HeaderField.displaySubclassesmethod, can be used.

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

Methods

convert

ValueofIntegerFieldas integer of typedouble

Introduced in R2016b

Was this topic helpful?