FormInput Class

Used to represent a form input found in the body of an http request.

Constructors

There are no public constructors.

Public Methods

getContentDisposition( ) returns String
Returns the "Content-Disposition" value associated with this form input. This attribute is unique to "multipart/form-data".
getFileName( ) returns String
Returns the "filename" attribute found in the "Content-Disposition" value associated with this form input. This attribute is unique to "multipart/form-data".
isFile( ) returns boolean
Convenience method used to determine whether the input is associated with a file upload. Returns true if a "filename" attribute is found in the "Content-Disposition" metadata. This attribute is unique to "multipart/form-data".
getMetadata( ) returns java.util.HashMap<String, String>
Used to return metadata associated with this form input. This attribute is unique to "multipart/form-data". Each input may include information such as the "Content-Disposition", "Content-Type", and "Content-Transfer-Encoding".
getName( ) returns String
Used to return the name associated with this form input.
getValue( ) returns FormValue
Used to return the value associated with this form input.