| Package | Description |
|---|---|
| com.foxless.godfs.api | |
| com.foxless.godfs.api.impl | |
| com.foxless.godfs.common |
| Modifier and Type | Method and Description |
|---|---|
String |
GodfsApiClient.upload(File file,
String group,
IMonitor<MonitorProgressBean> monitor)
upload local file.
|
String |
GodfsApiClient.upload(javax.servlet.http.HttpServletRequest request,
String group,
IMonitor<MonitorProgressBean> monitor,
String protocol)
streaming api for uploading file.
NOTE: this way needs storage server enable http upload. |
String |
GodfsApiClient.upload(InputStream ips,
long fileSize,
String group,
IMonitor<MonitorProgressBean> monitor)
upload file in stream mode.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GodfsApiClientImpl.upload(File file,
String group,
IMonitor<MonitorProgressBean> monitor) |
String |
GodfsApiClientImpl.upload(javax.servlet.http.HttpServletRequest request,
String group,
IMonitor<MonitorProgressBean> monitor,
String protocol) |
String |
GodfsApiClientImpl.upload(InputStream ips,
long fileSize,
String group,
IMonitor<MonitorProgressBean> monitor) |
| Modifier and Type | Class and Description |
|---|---|
class |
UploadProgressMonitor |
| Constructor and Description |
|---|
UploadStreamWriter(InputStream ips,
IMonitor monitor) |
Copyright © 2018. All rights reserved.