You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mindee's API lives on the internet and many internal applications on corporate networks may therefore need to configure an HTTP proxy to access it. This is possble by using a `MindeeClient` configured to use a user provided instance of the `com.mindee.parsing.MindeeApi` interface. There are a few layers to this:
91
-
92
-
* The default implementation of `com.mindee.parsing.MindeeApi` interface is `com.mindee.http.MindeeHttpApi`
93
-
*`MindeeHttpApi` can be initialized with an Apache HttpComponents `HttpClientBuilder`.
94
-
*`HttpClientBuilder` can be configured for use cases like proxying requests, custom authentication schemes, setting SSL Context etc.
95
-
96
-
To Configure a `MindeeClient` to use a proxy, the following code can be referenced.
Copy file name to clipboardExpand all lines: docs/java-getting-started.md
+47-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ and [installed](https://maven.apache.org/install.html)
12
12
13
13
### Maven
14
14
The easiest way to use the Mindee client library for your project is by adding
15
-
the maven dependency in your projects POM:
15
+
the maven dependency in your project's POM:
16
16
17
17
```shell
18
18
<dependencies>
@@ -25,7 +25,7 @@ the maven dependency in your projects POM:
25
25
</dependency>
26
26
<properties>
27
27
...
28
-
<mindee.sdk.version>1.0.0</mindee.sdk.version>
28
+
<mindee.sdk.version>3.x.x</mindee.sdk.version>
29
29
</properties>
30
30
```
31
31
For the latest version of the Library please refer to our [maven central repository](https://mvnrepository.com/artifact/com.mindee.sdk/mindee-api-java)
@@ -94,6 +94,51 @@ Then in your code:
94
94
MindeeClient client =MindeeClientInit.create();
95
95
```
96
96
97
+
### HttpClient Customizations
98
+
Mindee's API lives on the internet and many internal applications on corporate networks may therefore need to configure an HTTP proxy to access it.
99
+
This is possible by using a `MindeeClient` configured to use a user provided instance of the `com.mindee.parsing.MindeeApi` interface.
100
+
101
+
There are a few layers to this:
102
+
* The default implementation of `com.mindee.parsing.MindeeApi` interface is `com.mindee.http.MindeeHttpApi`
103
+
*`MindeeHttpApi` can be initialized with an Apache HttpComponents `HttpClientBuilder`.
104
+
*`HttpClientBuilder` can be configured for use cases like proxying requests, custom authentication schemes, setting SSL Context etc.
105
+
106
+
To Configure a `MindeeClient` to use a proxy, the following code can be referenced.
0 commit comments