|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.squareup.mimecraft.Multipart
public final class Multipart
RFC 2387-compliant encoded data.
Nested Class Summary | |
---|---|
static class |
Multipart.Builder
Fluent API to build Multipart instances. |
static class |
Multipart.Type
Multipart MIME types. |
Method Summary | |
---|---|
Map<String,String> |
getHeaders()
HTTP headers. |
void |
writeBodyTo(OutputStream stream)
Write request data to the specified stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Map<String,String> getHeaders()
Part
getHeaders
in interface Part
public void writeBodyTo(OutputStream stream) throws IOException
Part
BufferedOutputStream
.
writeBodyTo
in interface Part
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |