|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.soap.util.net.HTTPUtils
A bunch of utility stuff for doing HTTP things.
| Inner Class Summary | |
static class |
HTTPUtils.Response
An instance of this class is returned by post. |
| Constructor Summary | |
HTTPUtils()
|
|
| Method Summary | |
static HTTPUtils.Response |
post(java.net.URL url,
java.util.Hashtable headers,
java.lang.String contentType,
java.lang.String content,
int timeout)
POST something to the given URL. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPUtils()
| Method Detail |
public static HTTPUtils.Response post(java.net.URL url,
java.util.Hashtable headers,
java.lang.String contentType,
java.lang.String content,
int timeout)
throws java.lang.IllegalArgumentException
url - the url to post toheaders - additional headers to send as HTTP headerscontentType - type of the contentcontent - the body of the post
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||