anderix.net
Class MultiPartForm

java.lang.Object
  extended by anderix.net.WebForm
      extended by anderix.net.MultiPartForm

public class MultiPartForm
extends WebForm


Constructor Summary
MultiPartForm(java.lang.String actionUrl)
           
MultiPartForm(java.lang.String actionUrl, java.net.Authenticator auth)
           
MultiPartForm(java.lang.String actionUrl, java.util.Hashtable formValues)
           
MultiPartForm(java.lang.String actionUrl, java.util.Hashtable formValues, java.net.Authenticator auth)
           
MultiPartForm(java.lang.String actionUrl, java.util.Hashtable formValues, java.util.Hashtable fileValues)
           
MultiPartForm(java.lang.String actionUrl, java.util.Hashtable formValues, java.util.Hashtable fileValues, java.net.Authenticator auth)
           
MultiPartForm(java.net.URL actionUrl)
           
MultiPartForm(java.net.URL actionUrl, java.net.Authenticator auth)
           
MultiPartForm(java.net.URL actionUrl, java.util.Hashtable formValues)
           
MultiPartForm(java.net.URL actionUrl, java.util.Hashtable formValues, java.net.Authenticator auth)
           
MultiPartForm(java.net.URL actionUrl, java.util.Hashtable formValues, java.util.Hashtable fileValues)
           
MultiPartForm(java.net.URL actionUrl, java.util.Hashtable formValues, java.util.Hashtable fileValues, java.net.Authenticator auth)
           
 
Method Summary
 void addFormFile(java.lang.String name, java.io.File value)
           
 java.lang.String post()
           
 void setFormFiles(java.util.Hashtable fileValues)
           
 
Methods inherited from class anderix.net.WebForm
addFormValue, addHeader, delete, get, getFile, getResponse, put, setAction, setAuthenticator, setFormValues, setHeaders
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiPartForm

public MultiPartForm(java.lang.String actionUrl)
              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

MultiPartForm

public MultiPartForm(java.lang.String actionUrl,
                     java.net.Authenticator auth)
              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

MultiPartForm

public MultiPartForm(java.net.URL actionUrl)

MultiPartForm

public MultiPartForm(java.net.URL actionUrl,
                     java.net.Authenticator auth)

MultiPartForm

public MultiPartForm(java.lang.String actionUrl,
                     java.util.Hashtable formValues)
              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

MultiPartForm

public MultiPartForm(java.lang.String actionUrl,
                     java.util.Hashtable formValues,
                     java.net.Authenticator auth)
              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

MultiPartForm

public MultiPartForm(java.net.URL actionUrl,
                     java.util.Hashtable formValues)

MultiPartForm

public MultiPartForm(java.net.URL actionUrl,
                     java.util.Hashtable formValues,
                     java.net.Authenticator auth)

MultiPartForm

public MultiPartForm(java.lang.String actionUrl,
                     java.util.Hashtable formValues,
                     java.util.Hashtable fileValues)
              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

MultiPartForm

public MultiPartForm(java.lang.String actionUrl,
                     java.util.Hashtable formValues,
                     java.util.Hashtable fileValues,
                     java.net.Authenticator auth)
              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

MultiPartForm

public MultiPartForm(java.net.URL actionUrl,
                     java.util.Hashtable formValues,
                     java.util.Hashtable fileValues)

MultiPartForm

public MultiPartForm(java.net.URL actionUrl,
                     java.util.Hashtable formValues,
                     java.util.Hashtable fileValues,
                     java.net.Authenticator auth)
Method Detail

addFormFile

public void addFormFile(java.lang.String name,
                        java.io.File value)

setFormFiles

public void setFormFiles(java.util.Hashtable fileValues)

post

public java.lang.String post()
                      throws java.io.IOException
Overrides:
post in class WebForm
Throws:
java.io.IOException