public class MultipartImpl extends AbstractMultipart
Multipart.bodyParts| Constructor and Description |
|---|
MultipartImpl(String subType) |
MultipartImpl(String subType,
List<NameValuePair> parameters)
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, getContentTypeParameters, getCount, getParent, getSubType, removeBodyPart, replaceBodyPart, setBodyParts, setParent, setSubTypepublic MultipartImpl(String subType)
public MultipartImpl(String subType, List<NameValuePair> parameters)
Multipart instance.public ByteSequence getPreambleRaw()
public void setPreambleRaw(ByteSequence preamble)
public String getPreamble()
getPreamble in interface MultipartgetPreamble in class AbstractMultipartpublic void setPreamble(String preamble)
setPreamble in interface MultipartsetPreamble in class AbstractMultipartpreamble - the preamble.public ByteSequence getEpilogueRaw()
public void setEpilogueRaw(ByteSequence epilogue)
public String getEpilogue()
getEpilogue in interface MultipartgetEpilogue in class AbstractMultipartpublic void setEpilogue(String epilogue)
setEpilogue in interface MultipartsetEpilogue in class AbstractMultipartepilogue - the epilogue.Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.