FormVar Type

The form variable for the current request.

Remarks

This type describes a form variable that is to be posted to the URL when an upload action is performed. The type contains fields which describe this variable's name and value.

Fields

ContentType
String

This field specifies the Content-Type header for a Form Variable.

When a form variable is added to the class, the Content-Type header for the form variable can be controlled by this field. To omit the Content-Type header completely for a form variable set this to empty string.

The default value is "text/plain".

Name
String

This field contains the form variable name for the current request. If you are emulating the behavior of an existing HTML web form, this field will contain the name attribute of the 'INPUT' tag in the form which you are emulating.

Value
String

This field contains the form variable value for the current request.

Constructors

public FormVar();



public FormVar(String name, String value);



Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Java Edition - Version 20.0 [Build 8166]