public class PlainTextContent
extends java.lang.Object
implements com.google.api.client.http.HttpContent
| Constructor and Description |
|---|
PlainTextContent(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
java.lang.String |
getType() |
boolean |
retrySupported() |
void |
writeTo(java.io.OutputStream out) |
public long getLength()
throws java.io.IOException
getLength in interface com.google.api.client.http.HttpContentjava.io.IOExceptionpublic java.lang.String getType()
getType in interface com.google.api.client.http.HttpContentpublic boolean retrySupported()
retrySupported in interface com.google.api.client.http.HttpContentpublic void writeTo(java.io.OutputStream out)
throws java.io.IOException
writeTo in interface com.google.api.client.http.HttpContentwriteTo in interface com.google.api.client.util.StreamingContentjava.io.IOException