Interface IAttachment
public interface IAttachment
This interface represents an attachment; generally a multipart part.
- 
Method SummaryModifier and TypeMethodDescriptionRetrieve the value for "Content-ID" in headers.javax.ws.rs.core.MediaTypeRetrieve the value for "Content-Type" in headers.Retrieve DataHandler of IAttachmetn.Retrieve the value whose key is name in header.Retrieve header in IAttachment.
- 
Method Details- 
getContentIdString getContentId()Retrieve the value for "Content-ID" in headers.- Returns:
- the value for "Content-ID" in headers.
 
- 
getContentTypejavax.ws.rs.core.MediaType getContentType()Retrieve the value for "Content-Type" in headers.- Returns:
- the value for "Content-Type" in headers.
 
- 
getDataHandlerDataHandler getDataHandler()Retrieve DataHandler of IAttachmetn.- Returns:
- DataHandler of IAttachmetn.
 
- 
getHeaderRetrieve the value whose key is name in header.- Parameters:
- name- - the key in header.
- Returns:
 
- 
getHeadersRetrieve header in IAttachment.- Returns:
- header in IAttachment.
 
 
-