Skip to content

Commit 44849d9

Browse files
committed
feat: add EchoRequester to java
1 parent a3c6272 commit 44849d9

File tree

114 files changed

+4710
-8341
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+4710
-8341
lines changed

clients/algoliasearch-client-java-2/algoliasearch-core/com/algolia/ApiCallback.java

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ public interface ApiCallback<T> {
1616
* @param statusCode Status code of the response if available, otherwise it would be 0
1717
* @param responseHeaders Headers of the response if available, otherwise it would be null
1818
*/
19-
void onFailure(
20-
ApiException e,
21-
int statusCode,
22-
Map<String, List<String>> responseHeaders
23-
);
19+
void onFailure(ApiException e, int statusCode, Map<String, List<String>> responseHeaders);
2420

2521
/**
2622
* This is called when the API call succeeded.
@@ -29,11 +25,7 @@ void onFailure(
2925
* @param statusCode Status code of the response
3026
* @param responseHeaders Headers of the response
3127
*/
32-
void onSuccess(
33-
T result,
34-
int statusCode,
35-
Map<String, List<String>> responseHeaders
36-
);
28+
void onSuccess(T result, int statusCode, Map<String, List<String>> responseHeaders);
3729

3830
/**
3931
* This is called when the API upload processing.

0 commit comments

Comments
 (0)