Form Class

Used to post html form data to an http server. Supports both HTTP GET and POST methods.

Constructors

Form( String method, String action )

Public Methods

setName( String name ) returns void
addInput( String name, String value ) returns void
addInput( Input input ) returns void
setMethod( String method ) returns void
methodHTTP request method (e.g. "GET" or "POST")
setAction( String action ) returns void
actionURL to send the form data.
submit( ) returns javaxt.http.Response
Used to submit the form data. Returns the http response from the server.