public class MultiPartResponse
extends java.lang.Object
Constructor and Description |
---|
MultiPartResponse(HttpResponse response)
MultiPartResponse constructor.
|
MultiPartResponse(java.io.OutputStream out) |
Modifier and Type | Method and Description |
---|---|
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.
|
public MultiPartResponse(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public MultiPartResponse(HttpResponse response) throws java.io.IOException
java.io.IOException
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
- IOExceptionCopyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.