|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectretrofit.mime.MultipartTypedOutput
public final class MultipartTypedOutput
| Constructor Summary | |
|---|---|
MultipartTypedOutput()
|
|
| Method Summary | |
|---|---|
void |
addPart(String name,
TypedOutput body)
|
String |
fileName()
Original filename. |
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 String fileName()
TypedOutput
fileName in interface TypedOutputpublic String mimeType()
TypedOutput
mimeType in interface TypedOutputpublic long length()
TypedOutput
length in interface TypedOutput
public void writeTo(OutputStream out)
throws IOException
TypedOutput
writeTo in interface TypedOutputIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||