Interface IAttachment


public interface IAttachment
This interface represents an attachment; generally a multipart part.
  • 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

      String getHeader(String name)
      Retrieve the value whose key is name in header.
      Parameters:
      name - - the key in header.
      Returns:
    • getHeaders

      javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
      Retrieve header in IAttachment.
      Returns:
      header in IAttachment.