Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ProgressRequestBody (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

      }
    
      public static void main(String... args) throws Exception {
        new UploadProgress().run();
      }
    
      private static class ProgressRequestBody extends RequestBody {
    
        private final ProgressListener progressListener;
        private final RequestBody delegate;
    
        public ProgressRequestBody(RequestBody delegate, ProgressListener progressListener) {
          this.delegate = delegate;
          this.progressListener = progressListener;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  2. docs/recipes.md

                  .post(ProgressRequestBody(requestBody, progressListener)).build()
    
              client.newCall(request).execute().use { response ->
                if (!response.isSuccessful) throw IOException("Unexpected code $response")
                println(response.body.string())
              }
            }
    
            private class ProgressRequestBody(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
Back to Top