Class SARRequestHttpContent

  • All Implemented Interfaces:
    com.google.api.client.http.HttpContent, com.google.api.client.util.StreamingContent

    public final class SARRequestHttpContent
    extends Object
    implements com.google.api.client.http.HttpContent
    • Constructor Detail

      • SARRequestHttpContent

        public SARRequestHttpContent​(String json)
    • Method Detail

      • getLength

        public long getLength()
                       throws IOException
        Specified by:
        getLength in interface com.google.api.client.http.HttpContent
        Throws:
        IOException
      • getType

        public String getType()
        Specified by:
        getType in interface com.google.api.client.http.HttpContent
      • retrySupported

        public boolean retrySupported()
        Specified by:
        retrySupported in interface com.google.api.client.http.HttpContent
      • writeTo

        public void writeTo​(OutputStream out)
                     throws IOException
        Specified by:
        writeTo in interface com.google.api.client.http.HttpContent
        Specified by:
        writeTo in interface com.google.api.client.util.StreamingContent
        Throws:
        IOException