public class CurlCommand extends Object
asString(Platform,
boolean, boolean) method.| Modifier and Type | Class and Description |
|---|---|
static class |
CurlCommand.FormPart |
static class |
CurlCommand.Header |
static class |
CurlCommand.ServerAuthentication |
| Constructor and Description |
|---|
CurlCommand() |
| Modifier and Type | Method and Description |
|---|---|
CurlCommand |
addData(String data) |
CurlCommand |
addDataBinary(String dataBinary) |
CurlCommand |
addFormPart(String name,
String content) |
CurlCommand |
addHeader(String name,
String value) |
String |
asString(Platform targetPlatform,
boolean useShortForm,
boolean printMultiliner) |
CurlCommand |
removeHeader(String name) |
CurlCommand |
setCompressed(boolean compressed) |
CurlCommand |
setCookieHeader(String cookieHeader) |
CurlCommand |
setInsecure(boolean insecure) |
CurlCommand |
setMethod(String method) |
CurlCommand |
setServerAuthentication(String user,
String password) |
CurlCommand |
setUrl(String url) |
CurlCommand |
setVerbose(boolean verbose) |
String |
toString() |
public CurlCommand setUrl(String url)
public CurlCommand addHeader(String name, String value)
public CurlCommand removeHeader(String name)
public CurlCommand addFormPart(String name, String content)
public CurlCommand addData(String data)
public CurlCommand addDataBinary(String dataBinary)
public CurlCommand setCookieHeader(String cookieHeader)
public CurlCommand setCompressed(boolean compressed)
public CurlCommand setVerbose(boolean verbose)
public CurlCommand setInsecure(boolean insecure)
public CurlCommand setMethod(String method)
public CurlCommand setServerAuthentication(String user, String password)
Copyright © 2016–2017. All rights reserved.