|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object retrofit.mime.FormUrlEncodedTypedOutput
public final class FormUrlEncodedTypedOutput
Constructor Summary | |
---|---|
FormUrlEncodedTypedOutput()
|
Method Summary | |
---|---|
void |
addField(String name,
String value)
|
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 FormUrlEncodedTypedOutput()
Method Detail |
---|
public void addField(String name, String value)
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 |