| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Options |
build() |
Options.Builder |
dontLogStacktrace()
Configures the library to not print a stacktrace where curl command has been generated.
|
Options.Builder |
logStacktrace()
Configures the library to print a stacktrace where curl command has been generated.
|
Options.Builder |
printMultiliner()
Configures the library to print a curl command in multiple lines.
|
Options.Builder |
printSingleliner()
Configures the library to print a curl command in a single line.
|
Options.Builder |
targetPlatform(Platform targetPlatform)
Confirgure the library to print curl command that will be executable on a given
targetPlatform. |
Options.Builder |
updateCurl(Consumer<CurlCommand> curlUpdater)
Configures the library to update curl command with a given
curlUpdater before
printing. |
Options.Builder |
useLongForm()
Configures the library to print long form of curl parameters.
|
Options.Builder |
useShortForm()
Configures the library to print short form of curl parameters.
|
public Options.Builder logStacktrace()
public Options.Builder dontLogStacktrace()
public Options.Builder printMultiliner()
public Options.Builder printSingleliner()
public Options.Builder useShortForm()
public Options.Builder useLongForm()
public Options.Builder updateCurl(Consumer<CurlCommand> curlUpdater)
curlUpdater before
printing.public Options.Builder targetPlatform(Platform targetPlatform)
targetPlatform.public Options build()
Copyright © 2016–2017. All rights reserved.