| java.lang.Object | |
| ↳ | cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.core.BoxHTTPManager |
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LOGGER | log4j object. | ||||||||||
| config | config properties. | ||||||||||
| hc | only one instance in this application. | ||||||||||
| instance | singleton instance. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
http get method, get a XML result.
| |||||||||||
post to server and get byte array.
| |||||||||||
download as a file object.
| |||||||||||
upload multiple files.
| |||||||||||
upload multiple files.
| |||||||||||
post data to gateway.
| |||||||||||
post XML content to the server.
| |||||||||||
get the only one manager.
| |||||||||||
get the only http client instance of system, config it as what you want.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
log4j object.
config properties.
only one instance in this application.
http get method, get a XML result.
| url | Http URL |
|---|
| IOException | io exception |
|---|---|
| DocumentException | document exception |
post to server and get byte array.
| url | Server URL |
|---|
| IOException | IO exception |
|---|
download as a file object.
| url | Server URL |
|---|---|
| inFile | Input file object |
| IOException | IO exception |
|---|
upload multiple files.
| url | Http URL |
|---|---|
| fileList | File list(File list) |
| IOException | exception |
|---|
upload multiple files.
| url | Http URL |
|---|---|
| filesHashMap | Hashmap, key is string(file name), value is byte array. |
| IOException | exception |
|---|
post data to gateway.
| url | Http URL |
|---|---|
| postData | String of json |
| IOException | IOException |
|---|
post XML content to the server.
| url | Server URL |
|---|---|
| postData | XML string |
| IOException | IO exception |
|---|
get the only one manager.
get the only http client instance of system, config it as what you want.
| config | The config to set |
|---|