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

The URIReferenceField class is a base class for creating Location and Content-Location header fields. Use the URIReferenceField class to construct different header fields containing a single URI or a portion of a URI. For more information, see RFC 3986 Uniform Resource Identifier (URI): Generic Syntax on the Internet Engineering Task Force (IETF®) website.

Creation

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

Attributes:

GetAccess
public
SetAccess
public

URI, specified as a matlab.net.URI object or a string acceptable to the URI constructor.

Attributes:

GetAccess
public
SetAccess
public
Dependent
true

Methods

expand all

Version History

Introduced in R2016b