public class MultipartImpl extends AbstractMultipart
Multipart
.bodyParts
Constructor and Description |
---|
MultipartImpl(String subType)
Creates a new empty
Multipart instance. |
Modifier and Type | Method and Description |
---|---|
String |
getEpilogue()
Gets the epilogue.
|
ByteSequence |
getEpilogueRaw() |
String |
getPreamble()
Gets the preamble.
|
ByteSequence |
getPreambleRaw() |
void |
setEpilogue(String epilogue)
Sets the epilogue.
|
void |
setEpilogueRaw(ByteSequence epilogue) |
void |
setPreamble(String preamble)
Sets the preamble.
|
void |
setPreambleRaw(ByteSequence preamble) |
addBodyPart, addBodyPart, dispose, getBodyParts, getCount, getParent, getSubType, removeBodyPart, replaceBodyPart, setBodyParts, setParent, setSubType
public MultipartImpl(String subType)
Multipart
instance.public ByteSequence getPreambleRaw()
public void setPreambleRaw(ByteSequence preamble)
public String getPreamble()
getPreamble
in interface Multipart
getPreamble
in class AbstractMultipart
public void setPreamble(String preamble)
setPreamble
in interface Multipart
setPreamble
in class AbstractMultipart
preamble
- the preamble.public ByteSequence getEpilogueRaw()
public void setEpilogueRaw(ByteSequence epilogue)
public String getEpilogue()
getEpilogue
in interface Multipart
getEpilogue
in class AbstractMultipart
public void setEpilogue(String epilogue)
setEpilogue
in interface Multipart
setEpilogue
in class AbstractMultipart
epilogue
- the epilogue.Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.