org.mortbay.http
Class MultiPartResponse
java.lang.Object
org.mortbay.http.MultiPartResponse
public class MultiPartResponse
extends java.lang.Object
Handle a multipart MIME response.
$Id: MultiPartResponse.java,v 1.11 2005/08/13 00:01:24 gregwilkins Exp $
void | close() - End the current part.
|
String | getBoundary()
|
OutputStream | getOut()
|
void | startPart(String contentType) - Start creation of the next Content.
|
void | startPart(String contentType, String[] headers) - Start creation of the next Content.
|
MultiPartResponse
public MultiPartResponse(OutputStream out)
throws IOException
MultiPartResponse
public MultiPartResponse(HttpResponse response)
throws IOException
MultiPartResponse constructor.
close
public void close()
throws IOException
End the current part.
getBoundary
public String getBoundary()
getOut
public OutputStream getOut()
startPart
public void startPart(String contentType)
throws IOException
Start creation of the next Content.
startPart
public void startPart(String contentType,
String[] headers)
throws IOException
Start creation of the next Content.
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.