getParameter
クラス: matlab.net.http.field.GenericField
名前空間: matlab.net.http.field
フィールドでのパラメーターの戻り値
説明
入力引数
field
— ヘッダー フィールド
matlab.net.http.field.GenericField
オブジェクト
ヘッダー フィールド。matlab.net.http.field.GenericField
オブジェクトとして指定します。
name
— パラメーター名
string | 文字ベクトル | ""
| ''
パラメーター名。string または文字ベクトルとして指定します。
名前は、Internet Engineering Task Force (IETF®) Web サイトの RFC 7230 Field Value Components、セクション 3.2.6 で定義された文字のみが含まれる、有効なトークンでなければなりません。名前のないパラメーターを設定するには、""
または ''
を使用します。
名前の一致の判定では大文字小文字が区別されませんが、value
は大文字小文字が区別されます。name
が既存のパラメーターに一致するが大文字小文字が一致しない場合、パラメーター名は指定された name
に一致する大文字小文字に変更されます。
一致するパラメーターが複数ある場合は、すべて value
に変更されます。
出力引数
value
— パラメーター値
string | string ベクトル | 空の string
string として返されるパラメーター値。複数の一致がある場合、value
と actname
は string ベクトルです。一致がない場合、value
と actname
は空の string 配列です。このメソッドにより、value
からパラメーター値を囲む引用符が削除されます。
actname
— 実際のパラメーター名
string | string ベクトル | 空の string
実際のパラメーター名。string、string ベクトル、空の string として返されます。
バージョン履歴
R2018a で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)