public class CurlHttpDeployer extends HttpDeployer
HttpDeployer that runs
a curl process on the target platform to pull the artifacts
from the HTTP server.
Copyright (c) 2015. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
HttpDeployer.ArtifactsHandler, HttpDeployer.BufferSize| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CURL
Field description
|
| Constructor and Description |
|---|
CurlHttpDeployer(com.oracle.bedrock.Option... options)
Create a
CurlHttpDeployer. |
CurlHttpDeployer(String curlCommand,
com.oracle.bedrock.Option... options)
Create a
CurlHttpDeployer. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deployArtifact(URL sourceURL,
String targetFileName,
Platform platform)
Deploy the specified artifact.
|
createExecutor, createServer, curl, curlAt, deploy, deployAllArtifacts, undeploy, wget, wgetAt, withBufferSize, withBufferSizeInKB, withBufferSizeInMBpublic static final String DEFAULT_CURL
public CurlHttpDeployer(com.oracle.bedrock.Option... options)
CurlHttpDeployer.options - the Options controlling the deployerpublic CurlHttpDeployer(String curlCommand, com.oracle.bedrock.Option... options)
CurlHttpDeployer.curlCommand - the location of the curl executableoptions - the Options controlling the deployerprotected void deployArtifact(URL sourceURL, String targetFileName, Platform platform)
HttpDeployerdeployArtifact in class HttpDeployersourceURL - the HTTP URL to download the artifact fromtargetFileName - the target file name to download the artifact toplatform - the remote Platform to download the artifact onCopyright © 2017. All rights reserved.