This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

matlab.net.http.field.LocationField class

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

HTTP Location header field

Description

A LocationField object contains the message uniform resource identifier (URI). The server adds a Location field to a response message to tell you to redirect messages to another URI. The meaning of this field depends on the status code of the response.

Properties

expand all

Header field name, specified as 'Location'.

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

Methods

expand all

Introduced in R2016b