public class BaseRequest
extends HttpPart
HttpPart.Companion| Constructor and Description |
|---|
BaseRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMultipartFileUpload()
If this request represents a multipart file upload
|
java.util.Map<java.lang.String,java.util.List> |
parseQueryParametersToMap(java.lang.Object query) |
BaseRequest |
withMultipartFileUpload(java.lang.String partName,
java.lang.String filename,
ContentType contentType,
java.lang.String contents)
Sets up the request as a multipart file upload
|
BaseRequest |
withMultipartFileUpload(java.lang.String partName,
java.lang.String filename,
java.lang.String contentType,
java.lang.String contents)
Sets up the request as a multipart file upload
|
charset, contentTypeHeader, detectContentType, getBody, getHeaders, getMatchingRules, jsonBody, mimeType, setBody, setDefaultMimeType, setHeaders, setMatchingRules, xmlBodypublic BaseRequest withMultipartFileUpload(java.lang.String partName, java.lang.String filename, ContentType contentType, java.lang.String contents)
Sets up the request as a multipart file upload
partName - The attribute name in the multipart upload that the file is included incontentType - The content type of the file datacontents - File contentspublic BaseRequest withMultipartFileUpload(java.lang.String partName, java.lang.String filename, java.lang.String contentType, java.lang.String contents)
Sets up the request as a multipart file upload
partName - The attribute name in the multipart upload that the file is included incontentType - The content type of the file datacontents - File contentspublic boolean isMultipartFileUpload()
If this request represents a multipart file upload
public java.util.Map<java.lang.String,java.util.List> parseQueryParametersToMap(java.lang.Object query)