|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openqa.jetty.http.MultiPartResponse
public class MultiPartResponse
Handle a multipart MIME response.
| Constructor Summary | |
|---|---|
MultiPartResponse(HttpResponse response)
MultiPartResponse constructor. |
|
MultiPartResponse(OutputStream out)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiPartResponse(OutputStream out)
throws IOException
IOException
public MultiPartResponse(HttpResponse response)
throws IOException
IOException| Method Detail |
|---|
public String getBoundary()
public OutputStream getOut()
public void startPart(String contentType)
throws IOException
IOException
public void startPart(String contentType,
String[] headers)
throws IOException
IOException
public void close()
throws IOException
IOException - IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||