Skip to content

Commit a3cf17f

Browse files
committed
Update DocumentReaderApi.java
-additional override
1 parent dcfc883 commit a3cf17f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

client/src/main/java/com/regula/documentreader/webclient/api/DocumentReaderApi.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ public RecognitionResponse process(
9090
return new RecognitionResponse(response);
9191
}
9292

93+
public RecognitionResponse process(
94+
ProcessRequest processRequest, HashMap<String, String> headers) {
95+
processRequest.getSystemInfo().setLicense(this.license);
96+
ProcessResponse response = processApi.apiProcess(processRequest, "", headers);
97+
return new RecognitionResponse(response);
98+
}
99+
93100
public RecognitionResponse process(byte[] processRequest, ProcessParams processParams) {
94101
if (processParams != null) {
95102
Gson converter = processApi.getApiClient().getJSON().getGson();

0 commit comments

Comments
 (0)