Class FormCommand
- java.lang.Object
-
- com.salesforce.datacloud.jdbc.http.FormCommand
-
public final class FormCommand extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormCommand.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringCONTENT_TYPE_HEADER_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormCommand.Builderbuilder()booleanequals(Object o)static <T> Tget(@NonNull okhttp3.OkHttpClient client, @NonNull FormCommand command, Class<T> type)Map<String,String>getBodyEntries()Map<String,String>getHeaders()Map<String,String>getQueryParameters()@NonNull URIgetSuffix()@NonNull URIgetUrl()inthashCode()static <T> Tpost(@NonNull okhttp3.OkHttpClient client, @NonNull FormCommand command, Class<T> type)StringtoString()
-
-
-
Field Detail
-
CONTENT_TYPE_HEADER_NAME
public static final String CONTENT_TYPE_HEADER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public static <T> T get(@NonNull @NonNull okhttp3.OkHttpClient client, @NonNull @NonNull FormCommand command, Class<T> type) throws SQLException- Throws:
SQLException
-
post
public static <T> T post(@NonNull @NonNull okhttp3.OkHttpClient client, @NonNull @NonNull FormCommand command, Class<T> type) throws SQLException- Throws:
SQLException
-
builder
public static FormCommand.Builder builder()
-
getUrl
@NonNull public @NonNull URI getUrl()
-
getSuffix
@NonNull public @NonNull URI getSuffix()
-
-