Class AttachmentBuilder
java.lang.Object
org.apache.cxf.jaxrs.ext.multipart.AttachmentBuilder
Fluid builder class for
Attachment
objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
contentDisposition
(ContentDisposition newContentDisposition) dataHandler
(jakarta.activation.DataHandler newDataHandler) Set all of the headers.
-
Constructor Details
-
AttachmentBuilder
public AttachmentBuilder()
-
-
Method Details
-
id
-
mediaType
-
object
-
dataHandler
-
header
-
headers
Set all of the headers. This will overwrite any content ID, media type, ContentDisposition, or other header set by previous calls.- Parameters:
allHeaders
-- Returns:
-
contentDisposition
-
build
-