Package anderix.net
Class WebForm
java.lang.Object
anderix.net.WebForm
- Direct Known Subclasses:
MultiPartForm
-
Constructor Summary
ConstructorDescriptionWebForm
(String actionUrl, String rawBody, Authenticator auth) WebForm
(String actionUrl, Authenticator auth) WebForm
(String actionUrl, Hashtable formValues, Authenticator auth) WebForm
(URL actionUrl, String rawBody, Authenticator auth) WebForm
(URL actionUrl, Authenticator auth) WebForm
(URL actionUrl, Hashtable formValues, Authenticator auth) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFormValue
(String name, String value) void
delete()
get()
void
post()
put()
void
void
void
setFormValues
(Hashtable formValues) void
setHeaders
(Hashtable headers)
-
Constructor Details
-
WebForm
- Throws:
MalformedURLException
-
WebForm
-
WebForm
- Throws:
MalformedURLException
-
WebForm
-
WebForm
- Throws:
MalformedURLException
-
WebForm
- Throws:
MalformedURLException
-
WebForm
- Throws:
MalformedURLException
-
WebForm
public WebForm(String actionUrl, Hashtable formValues, Authenticator auth) throws MalformedURLException - Throws:
MalformedURLException
-
WebForm
-
WebForm
-
WebForm
-
WebForm
-
-
Method Details
-
setAuthenticator
-
setAction
- Throws:
MalformedURLException
-
addFormValue
-
setFormValues
-
addHeader
-
setHeaders
-
delete
- Throws:
IOException
-
put
- Throws:
IOException
-
post
- Throws:
IOException
-
get
- Throws:
IOException
-
getFile
- Throws:
IOException
-
getResponse
-