Class RequestBodyBuilder


  • public class RequestBodyBuilder
    extends Object
    • Constructor Detail

      • RequestBodyBuilder

        public RequestBodyBuilder​(InputStream inputStream,
                                  okhttp3.MediaType mediaType)
    • Method Detail

      • setInputStream

        public void setInputStream​(InputStream inputStream)
      • getMediaType

        public okhttp3.MediaType getMediaType()
      • setMediaType

        public void setMediaType​(okhttp3.MediaType mediaType)
      • getRequestBody

        public okhttp3.RequestBody getRequestBody()
      • setRequestBody

        public void setRequestBody​(okhttp3.RequestBody requestBody)