public class BaseRequest
extends HttpPart
@NotNull public BaseRequest withMultipartFileUpload(@NotNull java.lang.String partName, @NotNull java.lang.String filename, @NotNull ContentType contentType, @NotNull 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 contents@NotNull public BaseRequest withMultipartFileUpload(@NotNull java.lang.String partName, @NotNull java.lang.String filename, @NotNull java.lang.String contentType, @NotNull 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