Modifier and Type | Method and Description |
---|---|
protected void |
WagonTestCase.assertResourcesAreInRemoteSide(Wagon wagon,
List<String> resourceNames) |
abstract void |
StreamWagon.fillInputData(InputData inputData) |
protected void |
AbstractWagon.finishPutTransfer(Resource resource,
InputStream input,
OutputStream output) |
void |
Wagon.get(String resourceName,
File destination)
Downloads specified resource from the repository to given file.
|
void |
StreamWagon.get(String resourceName,
File destination) |
List<String> |
Wagon.getFileList(String destinationDirectory)
Returns a
List of strings naming the files and directories in the directory denoted by
this abstract pathname. |
List<String> |
AbstractWagon.getFileList(String destinationDirectory) |
boolean |
Wagon.getIfNewer(String resourceName,
File destination,
long timestamp)
Downloads specified resource from the repository
if it was modified since specified date.
|
boolean |
StreamWagon.getIfNewer(String resourceName,
File destination,
long timestamp) |
boolean |
StreamWagon.getIfNewerToStream(String resourceName,
OutputStream stream,
long timestamp) |
boolean |
StreamingWagon.getIfNewerToStream(String resourceName,
OutputStream stream,
long timestamp)
Downloads specified resource from the repository if it was modified since specified date.
|
protected InputStream |
StreamWagon.getInputStream(Resource resource) |
void |
StreamWagon.getToStream(String resourceName,
OutputStream stream) |
void |
StreamingWagon.getToStream(String resourceName,
OutputStream stream)
Downloads specified resource from the repository to given output stream.
|
void |
Wagon.put(File source,
String destination)
Copy a file from local system to remote
|
void |
StreamWagon.put(File source,
String resourceName) |
void |
Wagon.putDirectory(File sourceDirectory,
String destinationDirectory)
Copy a directory from local system to remote
|
void |
AbstractWagon.putDirectory(File sourceDirectory,
String destinationDirectory) |
static void |
WagonUtils.putDirectory(File dir,
Wagon wagon,
boolean includeBasdir)
Deprecated.
|
protected void |
StreamWagon.putFromStream(InputStream stream,
Resource resource) |
void |
StreamWagon.putFromStream(InputStream stream,
String destination) |
void |
StreamingWagon.putFromStream(InputStream stream,
String destination)
Deprecated.
due to unknown contentLength various http(s) implementation will use a chuncked transfer encoding
mode you must take care you http target server supports that (ngnix don't !).
So in case of http(s) transport layer avoid using this. Will be remove in 3.0
Copy from a local input stream to remote.
|
void |
StreamWagon.putFromStream(InputStream stream,
String destination,
long contentLength,
long lastModified) |
void |
StreamingWagon.putFromStream(InputStream stream,
String destination,
long contentLength,
long lastModified)
Copy from a local input stream to remote.
|
protected void |
AbstractWagon.putTransfer(Resource resource,
File source,
OutputStream output,
boolean closeOutput) |
protected void |
AbstractWagon.putTransfer(Resource resource,
InputStream input,
OutputStream output,
boolean closeOutput) |
static String |
WagonUtils.toString(String resource,
Wagon wagon)
Deprecated.
|
protected void |
AbstractWagon.transfer(Resource resource,
File source,
OutputStream output,
boolean closeOutput)
Write from
File to OutputStream |
Modifier and Type | Method and Description |
---|---|
void |
FileWagon.fillInputData(InputData inputData) |
List<String> |
FileWagon.getFileList(String destinationDirectory) |
void |
FileWagon.putDirectory(File sourceDirectory,
String destinationDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
FtpWagon.fillInputData(InputData inputData) |
List<String> |
FtpWagon.getFileList(String destinationDirectory) |
void |
FtpWagon.putDirectory(File sourceDirectory,
String destinationDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
LightweightHttpWagon.fillInputData(InputData inputData) |
protected void |
LightweightHttpWagon.finishPutTransfer(Resource resource,
InputStream input,
OutputStream output) |
Modifier and Type | Method and Description |
---|---|
void |
ScmWagon.get(String resourceName,
File destination) |
List<String> |
ScmWagon.getFileList(String resourcePath) |
boolean |
ScmWagon.getIfNewer(String resourceName,
File destination,
long timestamp)
Not implemented
|
void |
ScmWagon.put(File source,
String targetName) |
void |
ScmWagon.putDirectory(File sourceDirectory,
String destinationDirectory) |
Modifier and Type | Method and Description |
---|---|
List<String> |
ScpHelper.getFileList(String destinationDirectory,
Repository repository) |
void |
ScpHelper.putDirectory(Wagon wagon,
File sourceDirectory,
String destinationDirectory)
Put a whole directory content, by transferring a unique zip file and uncompressing it
on the target ssh server with
unzip command. |
Modifier and Type | Method and Description |
---|---|
void |
ScpExternalWagon.get(String resourceName,
File destination) |
List<String> |
ScpExternalWagon.getFileList(String destinationDirectory) |
boolean |
ScpExternalWagon.getIfNewer(String resourceName,
File destination,
long timestamp) |
void |
ScpExternalWagon.put(File source,
String destination) |
void |
ScpExternalWagon.putDirectory(File sourceDirectory,
String destinationDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
SftpWagon.fillInputData(InputData inputData) |
void |
ScpWagon.fillInputData(InputData inputData) |
List<String> |
SftpWagon.getFileList(String destinationDirectory) |
List<String> |
AbstractJschWagon.getFileList(String destinationDirectory) |
void |
SftpWagon.putDirectory(File sourceDirectory,
String destinationDirectory) |
void |
AbstractJschWagon.putDirectory(File sourceDirectory,
String destinationDirectory) |
Modifier and Type | Method and Description |
---|---|
List<String> |
WebDavWagon.getFileList(String destinationDirectory) |
void |
WebDavWagon.put(File source,
String resourceName) |
void |
WebDavWagon.putDirectory(File sourceDirectory,
String destinationDirectory)
Copy a directory from local system to remote WebDAV server
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractHttpClientWagon.fillInputData(InputData inputData) |
void |
AbstractHttpClientWagon.put(File source,
String resourceName) |
protected void |
AbstractHttpClientWagon.putFromStream(InputStream stream,
Resource resource) |
void |
AbstractHttpClientWagon.putFromStream(InputStream stream,
String destination) |
void |
AbstractHttpClientWagon.putFromStream(InputStream stream,
String destination,
long contentLength,
long lastModified) |
Modifier and Type | Method and Description |
---|---|
void |
GetWagonTests.basic() |
void |
GetWagonTests.error() |
void |
GetWagonTests.forbidden() |
void |
GetWagonTests.highLatencyHighTimeout() |
void |
GetWagonTests.highLatencyLowTimeout() |
void |
GetWagonTests.infinitePermanentMove() |
void |
GetWagonTests.infiniteTemporaryMove() |
void |
GetWagonTests.inifiniteLatencyTimeout() |
void |
GetWagonTests.nonExistentHost() |
void |
GetWagonTests.oneLevelPermanentMove() |
void |
GetWagonTests.oneLevelTemporaryMove() |
void |
GetWagonTests.permanentMove_TooManyRedirects_limit20()
NOTE: This test depends on a
WagonTestCaseConfigurator configuration to limit redirects to 20. |
void |
GetWagonTests.proxied() |
void |
GetWagonTests.proxyTimeout() |
void |
GetWagonTests.sixLevelPermanentMove() |
void |
GetWagonTests.sixLevelTemporaryMove() |
void |
GetWagonTests.successfulAuthentication() |
void |
GetWagonTests.temporaryMove_TooManyRedirects_limit20()
NOTE: This test depends on a
WagonTestCaseConfigurator configuration to limit redirects to 20. |
protected void |
GetWagonTests.testAuthFailure(String path,
AuthenticationInfo info) |
protected void |
GetWagonTests.testErrorHandling(int code) |
protected void |
GetWagonTests.testSuccessfulGet(String path) |
protected void |
GetWagonTests.testSuccessfulGet(String path,
String checkPath) |
void |
GetWagonTests.unsuccessfulAuthentication() |
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.