File tree Expand file tree Collapse file tree
src/main/java/com/aspose/barcode/cloud Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55[ ![ Maven metadata URL] ( https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepository.aspose.cloud%2Frepo%2Fcom%2Faspose%2Faspose-barcode-cloud%2Fmaven-metadata.xml )] ( https://repository.aspose.cloud/repo/com/aspose/aspose-barcode-cloud/ )
66
77- API version: 3.0
8- - SDK version: 21.7.2
8+ - SDK version: 21.9.0
99
1010## Demo applications
1111
@@ -66,7 +66,7 @@ Add this dependency to your project's POM:
6666<dependency >
6767 <groupId >com.aspose</groupId >
6868 <artifactId >aspose-barcode-cloud</artifactId >
69- <version >21.7.2 </version >
69+ <version >21.9.0 </version >
7070 <scope >compile</scope >
7171</dependency >
7272```
@@ -81,7 +81,7 @@ mvn clean package
8181
8282Then manually install the following JARs:
8383
84- - ` target/aspose-barcode-cloud-21.7.2 .jar `
84+ - ` target/aspose-barcode-cloud-21.9.0 .jar `
8585- ` target/lib/*.jar `
8686
8787## Getting Started
Original file line number Diff line number Diff line change 55 <artifactId >aspose-barcode-cloud</artifactId >
66 <packaging >jar</packaging >
77 <name >aspose-barcode-cloud</name >
8- <version >21.7.2 </version >
8+ <version >21.9.0 </version >
99 <url >https://www.aspose.cloud</url >
1010 <description >Aspose.BarCode Cloud SDK for Java</description >
1111 <scm >
Original file line number Diff line number Diff line change 6262public class ApiClient {
6363
6464 public final String apiVersion = "v3.0" ;
65- public final String clientVersion = "21.7.2 " ;
65+ public final String clientVersion = "21.9.0 " ;
6666 private String baseUrl = "https://api.aspose.cloud" ;
6767 private String clientId ;
6868 private String clientSecret ;
@@ -114,7 +114,7 @@ protected ApiClient() {
114114 json = new JSON ();
115115
116116 // Set default User-Agent.
117- setUserAgent ("Swagger-Codegen/21.7.2 /java" );
117+ setUserAgent ("Swagger-Codegen/21.9.0 /java" );
118118
119119 addDefaultHeader ("x-aspose-client" , "java sdk" );
120120 addDefaultHeader ("x-aspose-client-version" , clientVersion );
Original file line number Diff line number Diff line change @@ -713,7 +713,9 @@ protected com.squareup.okhttp.Call postBarcodeRecognizeFromUrlOrContentCall(
713713 final String accept = apiClient .selectHeaderAccept (accepts );
714714 if (accept != null ) headerParams .put ("Accept" , accept );
715715
716- final String [] contentTypes = {"multipart/form-data" , "application/octet-stream" };
716+ final String [] contentTypes = {
717+ "multipart/form-data" , "application/x-www-form-urlencoded" , "application/octet-stream"
718+ };
717719 final String contentType = apiClient .selectHeaderContentType (contentTypes );
718720 headerParams .put ("Content-Type" , contentType );
719721
@@ -1111,7 +1113,10 @@ protected com.squareup.okhttp.Call putBarcodeGenerateFileCall(
11111113 if (accept != null ) headerParams .put ("Accept" , accept );
11121114
11131115 final String [] contentTypes = {
1114- "application/json" , "application/xml" , "multipart/form-data"
1116+ "multipart/form-data" ,
1117+ "application/x-www-form-urlencoded" ,
1118+ "application/json" ,
1119+ "application/xml"
11151120 };
11161121 final String contentType = apiClient .selectHeaderContentType (contentTypes );
11171122 headerParams .put ("Content-Type" , contentType );
You can’t perform that action at this time.
0 commit comments