Class HttpRequestConnector.StreamRequest

java.lang.Object
okhttp3.RequestBody
com.veeva.vault.vapil.connector.HttpRequestConnector.StreamRequest
Enclosing class:
HttpRequestConnector

public static final class HttpRequestConnector.StreamRequest extends okhttp3.RequestBody
Handler class sending requests using an Input Stream
  • Nested Class Summary

    Nested classes/interfaces inherited from class okhttp3.RequestBody

    okhttp3.RequestBody.Companion
  • Field Summary

    Fields inherited from class okhttp3.RequestBody

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    StreamRequest(String requestMediaType, InputStream stream)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    okhttp3.MediaType
     
    boolean
     
    void
    writeTo(okio.BufferedSink bufferedSink)
     

    Methods inherited from class okhttp3.RequestBody

    contentLength, create, create, create, create, create, create, create, create, create, create, create, create, create, isDuplex

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • contentType

      public okhttp3.MediaType contentType()
      Specified by:
      contentType in class okhttp3.RequestBody
    • isOneShot

      public boolean isOneShot()
      Overrides:
      isOneShot in class okhttp3.RequestBody
    • writeTo

      public void writeTo(okio.BufferedSink bufferedSink) throws IOException
      Specified by:
      writeTo in class okhttp3.RequestBody
      Throws:
      IOException