|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object retrofit.mime.MultipartTypedOutput
public final class MultipartTypedOutput
Constructor Summary | |
---|---|
MultipartTypedOutput()
|
Method Summary | |
---|---|
void |
addPart(String name,
TypedOutput body)
|
String |
fileName()
Original filename. |
int |
getPartCount()
|
long |
length()
Length in bytes or -1 if unknown. |
String |
mimeType()
Returns the mime type. |
void |
writeTo(OutputStream out)
Writes these bytes to the given output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipartTypedOutput()
Method Detail |
---|
public void addPart(String name, TypedOutput body)
public int getPartCount()
public String fileName()
TypedOutput
fileName
in interface TypedOutput
public String mimeType()
TypedOutput
mimeType
in interface TypedOutput
public long length()
TypedOutput
length
in interface TypedOutput
public void writeTo(OutputStream out) throws IOException
TypedOutput
writeTo
in interface TypedOutput
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |