JavaXT
|
|
FormInput ClassUsed to represent a form input found in the body of an http request.
ConstructorsThere are no public constructors.Public MethodsgetContentDisposition( ) 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". |