Uses of Class
com.ibm.websphere.jaxrs20.multipart.AttachmentBuilder
Packages that use AttachmentBuilder
-
Uses of AttachmentBuilder in com.ibm.websphere.jaxrs20.multipart
Methods in com.ibm.websphere.jaxrs20.multipart that return AttachmentBuilderModifier and TypeMethodDescriptionSets theContent-IDheader in this attachment part.AttachmentBuilder.contentType(String contentType) Sets theContent-Typeheader for this attachment part.AttachmentBuilder.contentType(javax.ws.rs.core.MediaType contentType) Sets theContent-Typeheader for this attachment part.Sets the file name of this attachment part.Sets a header for this attachment part.Sets headers for this attachment part.AttachmentBuilder.inputStream(InputStream inputStream) Sets the content of this attachment part as anInputStream.AttachmentBuilder.inputStream(String fileName, InputStream inputStream) Sets the content of this attachment part as anInputStream.static AttachmentBuilderAttachmentBuilder.newBuilder(String fieldName) Create a newAttachmentBuilderinstance for creating a new attachment for a multipart payload.