public class ProvidenceHttpBufferedContent extends Object implements com.google.api.client.http.HttpContent
ProvidenceHttpContent.| Constructor and Description |
|---|
ProvidenceHttpBufferedContent(net.morimekta.providence.PMessageOrBuilder message,
net.morimekta.providence.serializer.Serializer serializer) |
ProvidenceHttpBufferedContent(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 ProvidenceHttpBufferedContent(@Nonnull net.morimekta.providence.PMessageOrBuilder message, @Nonnull net.morimekta.providence.serializer.Serializer serializer) throws IOException
IOExceptionpublic ProvidenceHttpBufferedContent(@Nonnull net.morimekta.providence.PServiceCall serviceCall, @Nonnull net.morimekta.providence.serializer.Serializer serializer) throws IOException
IOExceptionpublic 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.