Class BuildConfigOperationsImpl.ArchiveFileInputStreamRequestBody

  • Enclosing class:
    BuildConfigOperationsImpl

    public static class BuildConfigOperationsImpl.ArchiveFileInputStreamRequestBody
    extends okhttp3.RequestBody
    • Constructor Detail

      • ArchiveFileInputStreamRequestBody

        public ArchiveFileInputStreamRequestBody​(okhttp3.OkHttpClient client,
                                                 Config config,
                                                 InputStream inputStream,
                                                 long contentLength,
                                                 String name,
                                                 String namespace)
    • Method Detail

      • contentType

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

        public long contentLength()
                           throws IOException
        Overrides:
        contentLength in class okhttp3.RequestBody
        Throws:
        IOException
      • writeTo

        public void writeTo​(okio.BufferedSink sink)
                     throws IOException
        Specified by:
        writeTo in class okhttp3.RequestBody
        Throws:
        IOException
      • getRecentEvents

        protected String getRecentEvents()