public class MultipartResponse
extends java.lang.Object
Constructor and Description |
---|
MultipartResponse() |
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(Attachment attachment) |
java.lang.String |
getMimeBoundary() |
static java.lang.String |
getNewMimeBoundary()
This is a utility function that returns a new MIME boundary string suitable for use in a Multipart MIME respone.
|
java.lang.String |
getStartID() |
static java.lang.String |
newUidString() |
void |
send(javax.servlet.http.HttpServletResponse servResponse)
Send the Multipart MIME document response to the client.
|
void |
setStartID(java.lang.String id) |
public java.lang.String getStartID()
public void setStartID(java.lang.String id)
public java.lang.String getMimeBoundary()
public static java.lang.String getNewMimeBoundary()
Do not confuse this method with getMimeBoundary
public static java.lang.String newUidString()
public void send(javax.servlet.http.HttpServletResponse servResponse) throws java.io.IOException, java.net.URISyntaxException, PPTException, BadConfigurationException, BESError
java.io.IOException
- When things go wrongjava.net.URISyntaxException
PPTException
BadConfigurationException
BESError
public void addAttachment(Attachment attachment)