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.jakarta.ws.rs.core.MediaType
Retrieve the value for "Content-Type" in headers.jakarta.activation.DataHandler
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
jakarta.ws.rs.core.MediaType getContentType()Retrieve the value for "Content-Type" in headers.- Returns:
- the value for "Content-Type" in headers.
-
getDataHandler
jakarta.activation.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.
-