Main Content

matlab.net.http.field.URIReferenceField class

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

Base class for HTTP header fields containing URI components

Description

TheURIReferenceFieldclass is a base class for creating Location and Content-Location header fields. Use theURIReferenceFieldclass to construct different header fields containing a single URI or a portion of a URI.

Creation

obj = matlab.net.http.field.URIReferenceField(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.

Attributes:

GetAccess
public
SetAccess
public

URI, specified as amatlab.net.URIobject or a string acceptable to theURIconstructor.

Attributes:

GetAccess
public
SetAccess
public
Dependent
true

Methods

expand all

Introduced in R2016b