AttachmentBuilder |
AttachmentBuilder.contentId(java.lang.String contentId) |
Sets the Content-ID header in this attachment part.
|
AttachmentBuilder |
AttachmentBuilder.contentType(java.lang.String contentType) |
Sets the Content-Type header for this attachment part.
|
AttachmentBuilder |
AttachmentBuilder.contentType(javax.ws.rs.core.MediaType contentType) |
Sets the Content-Type header for this attachment part.
|
AttachmentBuilder |
AttachmentBuilder.fileName(java.lang.String fileName) |
Sets the file name of this attachment part.
|
AttachmentBuilder |
AttachmentBuilder.header(java.lang.String headerName,
java.lang.String... headerValues) |
Sets a header for this attachment part.
|
AttachmentBuilder |
AttachmentBuilder.headers(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> newHeaders) |
Sets headers for this attachment part.
|
AttachmentBuilder |
AttachmentBuilder.inputStream(java.io.InputStream inputStream) |
Sets the content of this attachment part as an InputStream .
|
AttachmentBuilder |
AttachmentBuilder.inputStream(java.lang.String fileName,
java.io.InputStream inputStream) |
Sets the content of this attachment part as an InputStream .
|
static AttachmentBuilder |
AttachmentBuilder.newBuilder(java.lang.String fieldName) |
Create a new AttachmentBuilder instance for creating a new attachment for
a multipart payload.
|