| com.pnfsoftware.jeb.util.net.INet |
Known Indirect Subclasses
|
Convenience network utility interface to issue common GET/POST (http or https) queries that return textual contents.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract String |
post(String url, Map<String, String> urlParams, Map<String, String> bodyParams)
@return
| ||||||||||
| abstract String |
post(String url, Map<String, String> urlParams, Map<String, String> bodyParams, Map<String, String> serverHeaders)
Perform an http POST request to send a simple form.
| ||||||||||
| abstract String |
postMultipart(String url, Map<String, String> formParams, Map<String, FormFileEntry> formFiles, Map<String, String> serverHeaders)
Perform an http POST request to send a form using the
multipart/form-data
encoding. | ||||||||||
| abstract String |
postMultipart(String url, Map<String, String> formParams, Map<String, FormFileEntry> formFiles)
@return
| ||||||||||
| abstract String |
query(String url, Map<String, String> parameters)
@return
| ||||||||||
| abstract String |
query(String url, Map<String, String> parameters, Map<String, String> serverHeaders)
Perform an http GET request.
| ||||||||||
| abstract String |
query(String url)
Perform an http GET request.
| ||||||||||
| abstract byte[] |
queryBinary(String url, Map<String, String> parameters, Map<String, String> serverHeaders)
Perform an http GET request.
| ||||||||||
| abstract byte[] |
queryBinary(String url, Map<String, String> parameters)
@return
| ||||||||||
| abstract byte[] |
queryBinary(String url)
Perform an http GET request.
| ||||||||||
@return
| IOException |
|---|
Perform an http POST request to send a simple form.
| url | url with optional parameters |
|---|---|
| urlParams | optional additional url parameters |
| bodyParams | request content parameters |
| IOException | on error |
|---|
Perform an http POST request to send a form using the multipart/form-data
encoding.
| url | url with optional parameters |
|---|---|
| formParams | optional request content parameters |
| formFiles | optional request content files |
| IOException | on error |
|---|
@return
| IOException |
|---|
@return
| IOException |
|---|
Perform an http GET request.
| url | url with optional parameters |
|---|---|
| parameters | optional additional url parameters |
| IOException | on error |
|---|
Perform an http GET request.
| url | url with optional parameters |
|---|
| IOException | on error |
|---|
Perform an http GET request.
| url | url with optional parameters |
|---|---|
| parameters | optional additional url parameters |
| IOException | on error |
|---|
@return
| IOException |
|---|
Perform an http GET request.
| url | url with optional parameters |
|---|
| IOException | on error |
|---|