Interface IAttachment
public interface IAttachment
This interface represents an attachment; generally a multipart part.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the value for "Content-ID" in headers.javax.ws.rs.core.MediaType
Retrieve 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
-
getContentId
String getContentId()Retrieve the value for "Content-ID" in headers.- Returns:
- the value for "Content-ID" in headers.
-
getContentType
javax.ws.rs.core.MediaType getContentType()Retrieve the value for "Content-Type" in headers.- Returns:
- the value for "Content-Type" in headers.
-
getDataHandler
DataHandler getDataHandler()Retrieve DataHandler of IAttachmetn.- Returns:
- DataHandler of IAttachmetn.
-
getHeader
Retrieve the value whose key is name in header.- Parameters:
name
- - the key in header.- Returns:
-
getHeaders
Retrieve header in IAttachment.- Returns:
- header in IAttachment.
-