File tree Expand file tree Collapse file tree
echo_api/java/native/src/main/java/org/openapitools/client
native-async/src/main/java/org/openapitools/client
native-jakarta/src/main/java/org/openapitools/client
native/src/main/java/org/openapitools/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ public static InputStream getResponseBody(HttpResponse<InputStream> response) th
478478 if (encoding .isPresent ()) {
479479 for (String token : encoding .get ().split ("," )) {
480480 if ("gzip" .equalsIgnoreCase (token .trim ())) {
481- return new GZIPInputStream (body );
481+ return new GZIPInputStream (body , 8192 );
482482 }
483483 }
484484 }
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ public static InputStream getResponseBody(HttpResponse<InputStream> response) th
478478 if (encoding .isPresent ()) {
479479 for (String token : encoding .get ().split ("," )) {
480480 if ("gzip" .equalsIgnoreCase (token .trim ())) {
481- return new GZIPInputStream (body );
481+ return new GZIPInputStream (body , 8192 );
482482 }
483483 }
484484 }
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ public static InputStream getResponseBody(HttpResponse<InputStream> response) th
478478 if (encoding .isPresent ()) {
479479 for (String token : encoding .get ().split ("," )) {
480480 if ("gzip" .equalsIgnoreCase (token .trim ())) {
481- return new GZIPInputStream (body );
481+ return new GZIPInputStream (body , 8192 );
482482 }
483483 }
484484 }
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ public static InputStream getResponseBody(HttpResponse<InputStream> response) th
478478 if (encoding .isPresent ()) {
479479 for (String token : encoding .get ().split ("," )) {
480480 if ("gzip" .equalsIgnoreCase (token .trim ())) {
481- return new GZIPInputStream (body );
481+ return new GZIPInputStream (body , 8192 );
482482 }
483483 }
484484 }
You can’t perform that action at this time.
0 commit comments