org.mortbay.http
Class MultiPartResponse
java.lang.Objectorg.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 IOExceptionMultiPartResponse constructor.
close
public void close()
throws IOExceptionEnd the current part.
getBoundary
public String getBoundary()
getOut
public OutputStream getOut()
startPart
public void startPart(String contentType)
throws IOExceptionStart creation of the next Content.
startPart
public void startPart(String contentType,
String[] headers)
throws IOExceptionStart creation of the next Content.
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.