Class FormCommand.Builder
- java.lang.Object
-
- com.salesforce.datacloud.jdbc.http.FormCommand.Builder
-
- Enclosing class:
- FormCommand
public static class FormCommand.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormCommand.BuilderbodyEntries(Map<? extends String,? extends String> bodyEntries)FormCommand.BuilderbodyEntry(String bodyEntryKey, String bodyEntryValue)FormCommandbuild()FormCommand.BuilderclearBodyEntries()FormCommand.BuilderclearHeaders()FormCommand.BuilderclearQueryParameters()FormCommand.Builderheader(String headerKey, String headerValue)FormCommand.Builderheaders(Map<? extends String,? extends String> headers)FormCommand.BuilderqueryParameter(String queryParameterKey, String queryParameterValue)FormCommand.BuilderqueryParameters(Map<? extends String,? extends String> queryParameters)FormCommand.Buildersuffix(@NonNull URI suffix)StringtoString()FormCommand.Builderurl(@NonNull URI url)
-
-
-
Method Detail
-
url
public FormCommand.Builder url(@NonNull @NonNull URI url)
- Returns:
this.
-
suffix
public FormCommand.Builder suffix(@NonNull @NonNull URI suffix)
- Returns:
this.
-
header
public FormCommand.Builder header(String headerKey, String headerValue)
-
headers
public FormCommand.Builder headers(Map<? extends String,? extends String> headers)
-
clearHeaders
public FormCommand.Builder clearHeaders()
-
bodyEntry
public FormCommand.Builder bodyEntry(String bodyEntryKey, String bodyEntryValue)
-
bodyEntries
public FormCommand.Builder bodyEntries(Map<? extends String,? extends String> bodyEntries)
-
clearBodyEntries
public FormCommand.Builder clearBodyEntries()
-
queryParameter
public FormCommand.Builder queryParameter(String queryParameterKey, String queryParameterValue)
-
queryParameters
public FormCommand.Builder queryParameters(Map<? extends String,? extends String> queryParameters)
-
clearQueryParameters
public FormCommand.Builder clearQueryParameters()
-
build
public FormCommand build()
-
-