| Package | Description |
|---|---|
| io.milton.httpclient | |
| io.milton.httpclient.zsyncclient | |
| io.milton.zsync |
| Modifier and Type | Class and Description |
|---|---|
class |
GenericHttpException |
class |
InternalServerError |
class |
MethodNotAllowedException |
class |
RedirectException |
| Modifier and Type | Method and Description |
|---|---|
List<PropFindResponse> |
Host._doPropFind(String url,
int depth,
List<QName> fields) |
List<PropFindResponse> |
Host._doPropFind(String url,
int depth,
List<QName> fields) |
static Resource |
Host._find(Folder parent,
String[] arr,
int i,
boolean invalidateCache) |
static Resource |
Host._find(Folder parent,
String[] arr,
int i,
boolean invalidateCache) |
void |
Folder.addListener(FolderListener l) |
void |
Folder.addListener(FolderListener l) |
Resource |
Folder.child(String childName) |
Resource |
Folder.child(String childName) |
List<? extends Resource> |
Folder.children() |
List<? extends Resource> |
Folder.children() |
void |
Resource.copyTo(Folder folder) |
void |
Resource.copyTo(Folder folder) |
void |
Resource.copyTo(Folder folder,
String destName) |
void |
Resource.copyTo(Folder folder,
String destName) |
Folder |
Folder.createFolder(String name) |
Folder |
Folder.createFolder(String name) |
void |
Resource.delete() |
void |
Resource.delete() |
int |
Host.doCopy(String from,
String newUri) |
int |
Host.doCopy(String from,
String newUri) |
int |
Host.doDelete(Path path)
Deletes the item at the given path, relative to the root path of this
host
|
int |
Host.doDelete(Path path)
Deletes the item at the given path, relative to the root path of this
host
|
int |
Host.doDelete(String url) |
int |
Host.doDelete(String url) |
byte[] |
Host.doGet(Path path) |
byte[] |
Host.doGet(Path path) |
void |
Host.doGet(Path path,
File file,
ProgressListener listener) |
void |
Host.doGet(Path path,
File file,
ProgressListener listener) |
byte[] |
Host.doGet(Path path,
Map<String,String> queryParams) |
byte[] |
Host.doGet(Path path,
Map<String,String> queryParams) |
void |
Host.doGet(Path path,
OutputStream out,
Map<String,String> queryParams) |
void |
Host.doGet(Path path,
OutputStream out,
Map<String,String> queryParams) |
void |
Host.doGet(String url,
StreamReceiver receiver,
List<Range> rangeList,
ProgressListener listener) |
void |
Host.doGet(String url,
StreamReceiver receiver,
List<Range> rangeList,
ProgressListener listener) |
String |
Host.doLock(String uri)
Attempts to lock a resource with infinite timeout and returns the lock
token, which must be retained to unlock the resource
|
String |
Host.doLock(String uri)
Attempts to lock a resource with infinite timeout and returns the lock
token, which must be retained to unlock the resource
|
String |
Host.doLock(String uri,
int timeout)
Attempts to lock a resource with the specified timeout and returns the
lock token, which must be retained to unlock the resource
|
String |
Host.doLock(String uri,
int timeout)
Attempts to lock a resource with the specified timeout and returns the
lock token, which must be retained to unlock the resource
|
int |
Host.doMkCol(Path newUri)
Create a collection at the given absolute path.
|
int |
Host.doMkCol(Path newUri)
Create a collection at the given absolute path.
|
int |
Host.doMkCol(String newUri) |
int |
Host.doMkCol(String newUri) |
int |
Host.doMove(String sourceUrl,
String newUri) |
int |
Host.doMove(String sourceUrl,
String newUri) |
void |
Host.doOptions(Path path) |
void |
Host.doOptions(Path path) |
String |
Host.doPost(String url,
Map<String,String> params)
POSTs the variables and returns the body
|
String |
Host.doPost(String url,
Map<String,String> params)
POSTs the variables and returns the body
|
HttpResult |
Host.doPut(Path remotePath,
File file,
IfMatchCheck matchCheck,
ProgressListener listener) |
HttpResult |
Host.doPut(Path remotePath,
File file,
IfMatchCheck matchCheck,
ProgressListener listener) |
int |
Host.doUnLock(String uri,
String lockToken) |
int |
Host.doUnLock(String uri,
String lockToken) |
void |
File.download(OutputStream out,
ProgressListener listener) |
void |
File.download(OutputStream out,
ProgressListener listener) |
void |
File.download(OutputStream out,
ProgressListener listener,
List<Range> rangeList) |
void |
File.download(OutputStream out,
ProgressListener listener,
List<Range> rangeList) |
File |
File.downloadTo(File destFolder,
ProgressListener listener) |
File |
Folder.downloadTo(File destFolder,
ProgressListener listener) |
abstract File |
Resource.downloadTo(File destFolder,
ProgressListener listener) |
abstract File |
Resource.downloadTo(File destFolder,
ProgressListener listener) |
File |
Folder.downloadTo(File destFolder,
ProgressListener listener) |
File |
File.downloadTo(File destFolder,
ProgressListener listener) |
void |
File.downloadToFile(File dest,
ProgressListener listener) |
void |
File.downloadToFile(File dest,
ProgressListener listener) |
Resource |
Host.find(String path)
Finds the resource by iterating through the path parts resolving
collections as it goes.
|
Resource |
Host.find(String path)
Finds the resource by iterating through the path parts resolving
collections as it goes.
|
Resource |
Host.find(String path,
boolean invalidateCache) |
Resource |
Host.find(String path,
boolean invalidateCache) |
byte[] |
Host.get(Path path)
GET the contents of the given path.
|
byte[] |
Host.get(Path path)
GET the contents of the given path.
|
byte[] |
Host.get(String path)
Retrieve the bytes at the specified path.
|
byte[] |
Host.get(String path)
Retrieve the bytes at the specified path.
|
void |
TransferService.get(String url,
StreamReceiver receiver,
List<Range> rangeList,
ProgressListener listener,
org.apache.http.protocol.HttpContext context) |
void |
TransferService.get(String url,
StreamReceiver receiver,
List<Range> rangeList,
ProgressListener listener,
org.apache.http.protocol.HttpContext context) |
Resource |
Folder.getChild(int num) |
Resource |
Folder.getChild(int num) |
Folder |
Host.getFolder(String path)
Find a folder at the given path.
|
Folder |
Host.getFolder(String path)
Find a folder at the given path.
|
Folder |
Host.getOrCreateFolder(Path remoteParentPath,
boolean create) |
Folder |
Host.getOrCreateFolder(Path remoteParentPath,
boolean create) |
boolean |
Folder.hasChildren() |
boolean |
Folder.hasChildren() |
void |
Resource.lock() |
void |
Resource.lock() |
void |
Resource.lock(int timeout) |
void |
Resource.lock(int timeout) |
void |
Resource.moveTo(Folder folder) |
void |
Resource.moveTo(Folder folder) |
void |
Resource.moveTo(Folder folder,
String destName) |
void |
Resource.moveTo(Folder folder,
String destName) |
int |
Folder.numChildren() |
int |
Folder.numChildren() |
void |
Host.options(String path) |
void |
Host.options(String path) |
String |
Resource.post(Map<String,String> params) |
String |
Resource.post(Map<String,String> params) |
String |
Folder.post(String relativePath,
Map<String,String> params) |
String |
Folder.post(String relativePath,
Map<String,String> params) |
static void |
Utils.processResultCode(int result,
String href) |
static void |
Utils.processResultCode(int result,
String href) |
List<PropFindResponse> |
Host.propFind(Path path,
int depth,
List<QName> fields) |
List<PropFindResponse> |
Host.propFind(Path path,
int depth,
List<QName> fields) |
List<PropFindResponse> |
Host.propFind(Path path,
int depth,
QName... fields) |
List<PropFindResponse> |
Host.propFind(Path path,
int depth,
QName... fields) |
List<PropFindResponse> |
Host.propFind(String path,
int depth,
QName... fields) |
List<PropFindResponse> |
Host.propFind(String path,
int depth,
QName... fields) |
void |
Resource.rename(String newName) |
void |
Resource.rename(String newName) |
void |
File.setContent(InputStream in,
Long contentLength,
ProgressListener listener) |
void |
File.setContent(InputStream in,
Long contentLength,
ProgressListener listener) |
int |
Resource.unlock() |
int |
Resource.unlock() |
void |
Folder.upload(File f) |
void |
Folder.upload(File f) |
void |
Folder.upload(File f,
ProgressListener listener) |
void |
Folder.upload(File f,
ProgressListener listener) |
File |
Folder.upload(String name,
InputStream content,
Integer contentLength,
ProgressListener listener) |
File |
Folder.upload(String name,
InputStream content,
Integer contentLength,
ProgressListener listener) |
File |
Folder.upload(String name,
InputStream content,
Long contentLength,
ProgressListener listener)
Upload a new file
|
File |
Folder.upload(String name,
InputStream content,
Long contentLength,
ProgressListener listener)
Upload a new file
|
File |
Folder.upload(String name,
InputStream content,
Long contentLength,
String contentType,
IfMatchCheck matchCheck,
ProgressListener listener) |
File |
Folder.upload(String name,
InputStream content,
Long contentLength,
String contentType,
IfMatchCheck matchCheck,
ProgressListener listener) |
File |
Folder.uploadFile(File f) |
File |
Folder.uploadFile(File f) |
File |
Folder.uploadFile(File f,
ProgressListener listener)
Load a new file into this folder, and return a reference
|
File |
Folder.uploadFile(File f,
ProgressListener listener)
Load a new file into this folder, and return a reference
|
File |
Folder.uploadFile(String newName,
File f,
ProgressListener listener)
Upload a new file
|
File |
Folder.uploadFile(String newName,
File f,
ProgressListener listener)
Upload a new file
|
protected void |
Folder.uploadFolder(File folder,
ProgressListener listener) |
protected void |
Folder.uploadFolder(File folder,
ProgressListener listener) |
| Modifier and Type | Method and Description |
|---|---|
File |
FileSyncer.download(Host host,
Path remotePath,
File localFile,
ProgressListener listener) |
File |
FileSyncer.download(Host host,
Path remotePath,
File localFile,
ProgressListener listener) |
| Modifier and Type | Method and Description |
|---|---|
File |
ZSyncClient.download(Host host,
Path remotePath,
File localFile,
ProgressListener listener) |
File |
ZSyncClient.download(Host host,
Path remotePath,
File localFile,
ProgressListener listener) |
Copyright © 2021 McEvoy Software Ltd. All rights reserved.