org.apache.axiom.attachments
Interface Part
public interface Part
Interface representing a MIME part. A part can be the SOAP part (or more generally the root part
for non-MTOM XOP encoded messages) or an attachment part.
getDataHandler
DataHandler getDataHandler()
- Returns:
- DataHandler representing this part
getSize
long getSize()
- Returns:
- size
getContentType
String getContentType()
- Returns:
- content type of the part
getContentID
String getContentID()
- Returns:
- content id of the part
getHeader
String getHeader(String name)
- Get the value of a specific header
- Parameters:
name
-
- Returns:
- value or null
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.