public final class HttpAttachmentPart extends MessagePart.AttachmentPart
MessagePart.AttachmentPart, MessagePart.ContentPart, MessagePart.FaultPart, MessagePart.HeaderPart, MessagePart.ParameterPart, MessagePart.PartType
Modifier and Type | Field and Description |
---|---|
static String |
ANONYMOUS_NAME |
Constructor and Description |
---|
HttpAttachmentPart() |
HttpAttachmentPart(String name,
List<String> types) |
HttpAttachmentPart(String name,
String type) |
Modifier and Type | Method and Description |
---|---|
void |
addContentType(String contentType) |
Attachment.AttachmentType |
getAttachmentType() |
String[] |
getContentTypes() |
String |
getDescription() |
String |
getName() |
org.apache.xmlbeans.SchemaType |
getSchemaType() |
boolean |
isAnonymous() |
void |
setSchemaType(org.apache.xmlbeans.SchemaType schemaType) |
void |
setType(Attachment.AttachmentType type) |
getPartType
public static final String ANONYMOUS_NAME
public String[] getContentTypes()
getContentTypes
in class MessagePart.AttachmentPart
public String getName()
public void addContentType(String contentType)
public Attachment.AttachmentType getAttachmentType()
public void setType(Attachment.AttachmentType type)
public String getDescription()
public boolean isAnonymous()
isAnonymous
in class MessagePart.AttachmentPart
public org.apache.xmlbeans.SchemaType getSchemaType()
public void setSchemaType(org.apache.xmlbeans.SchemaType schemaType)
Copyright © 2019. All Rights Reserved.