|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mortbay.http.MultiPartResponse
Handle a multipart MIME response.
Constructor Summary | |
MultiPartResponse(HttpResponse response)
MultiPartResponse constructor. |
|
MultiPartResponse(java.io.OutputStream out)
|
Method Summary | |
void |
close()
End the current part. |
java.lang.String |
getBoundary()
|
java.io.OutputStream |
getOut()
|
void |
startPart(java.lang.String contentType)
Start creation of the next Content. |
void |
startPart(java.lang.String contentType,
java.lang.String[] headers)
Start creation of the next Content. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiPartResponse(java.io.OutputStream out) throws java.io.IOException
public MultiPartResponse(HttpResponse response) throws java.io.IOException
Method Detail |
public java.lang.String getBoundary()
public java.io.OutputStream getOut()
public void startPart(java.lang.String contentType) throws java.io.IOException
java.io.IOException
public void startPart(java.lang.String contentType, java.lang.String[] headers) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
- IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |