public class ProvidenceHttpContent extends Object implements com.google.api.client.http.HttpContent
| Constructor and Description |
|---|
ProvidenceHttpContent(net.morimekta.providence.PMessageOrBuilder message,
net.morimekta.providence.serializer.Serializer serializer) |
ProvidenceHttpContent(net.morimekta.providence.PServiceCall serviceCall,
net.morimekta.providence.serializer.Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
String |
getType() |
boolean |
retrySupported() |
void |
writeTo(OutputStream out) |
public ProvidenceHttpContent(@Nonnull net.morimekta.providence.PMessageOrBuilder message, @Nonnull net.morimekta.providence.serializer.Serializer serializer)
public long getLength()
getLength in interface com.google.api.client.http.HttpContentpublic String getType()
getType in interface com.google.api.client.http.HttpContentpublic boolean retrySupported()
retrySupported in interface com.google.api.client.http.HttpContentpublic void writeTo(OutputStream out) throws IOException
writeTo in interface com.google.api.client.http.HttpContentwriteTo in interface com.google.api.client.util.StreamingContentIOExceptionCopyright © 2015–2020 morimekta.net. All rights reserved.