Skip to content

Commit 7b50ad5

Browse files
committed
chore: Deprecate invoke methods
Signed-off-by: Javier Aliaga <javier@diagrid.io>
1 parent 0d74311 commit 7b50ad5

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

sdk/src/main/java/io/dapr/client/DaprClient.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,7 @@ Mono<byte[]> invokeMethod(String appId, String methodName, byte[] request, HttpE
343343
* @param data The data to be processed, use byte[] to skip serialization.
344344
* @return an empty Mono.
345345
*
346-
* @deprecated It is recommended to use language-native HTTP clients or gRPC clients for binding invocation instead.
347346
*/
348-
@Deprecated
349347
Mono<Void> invokeBinding(String bindingName, String operation, Object data);
350348

351349
/**
@@ -357,9 +355,7 @@ Mono<byte[]> invokeMethod(String appId, String methodName, byte[] request, HttpE
357355
* @param metadata The metadata map.
358356
* @return a Mono plan of type byte[].
359357
*
360-
* @deprecated It is recommended to use language-native HTTP clients or gRPC clients for binding invocation instead.
361358
*/
362-
@Deprecated
363359
Mono<byte[]> invokeBinding(String bindingName, String operation, byte[] data, Map<String, String> metadata);
364360

365361
/**
@@ -372,9 +368,7 @@ Mono<byte[]> invokeMethod(String appId, String methodName, byte[] request, HttpE
372368
* @param <T> The type of the return
373369
* @return a Mono plan of type T.
374370
*
375-
* @deprecated It is recommended to use language-native HTTP clients or gRPC clients for binding invocation instead.
376371
*/
377-
@Deprecated
378372
<T> Mono<T> invokeBinding(String bindingName, String operation, Object data, TypeRef<T> type);
379373

380374
/**
@@ -387,9 +381,7 @@ Mono<byte[]> invokeMethod(String appId, String methodName, byte[] request, HttpE
387381
* @param <T> The type of the return
388382
* @return a Mono plan of type T.
389383
*
390-
* @deprecated It is recommended to use language-native HTTP clients or gRPC clients for binding invocation instead.
391384
*/
392-
@Deprecated
393385
<T> Mono<T> invokeBinding(String bindingName, String operation, Object data, Class<T> clazz);
394386

395387
/**
@@ -403,9 +395,7 @@ Mono<byte[]> invokeMethod(String appId, String methodName, byte[] request, HttpE
403395
* @param <T> The type of the return
404396
* @return a Mono plan of type T.
405397
*
406-
* @deprecated It is recommended to use language-native HTTP clients or gRPC clients for binding invocation instead.
407398
*/
408-
@Deprecated
409399
<T> Mono<T> invokeBinding(String bindingName, String operation, Object data, Map<String, String> metadata,
410400
TypeRef<T> type);
411401

@@ -420,9 +410,7 @@ <T> Mono<T> invokeBinding(String bindingName, String operation, Object data, Map
420410
* @param <T> The type of the return
421411
* @return a Mono plan of type T.
422412
*
423-
* @deprecated It is recommended to use language-native HTTP clients or gRPC clients for binding invocation instead.
424413
*/
425-
@Deprecated
426414
<T> Mono<T> invokeBinding(String bindingName, String operation, Object data, Map<String, String> metadata,
427415
Class<T> clazz);
428416

@@ -432,9 +420,7 @@ <T> Mono<T> invokeBinding(String bindingName, String operation, Object data, Map
432420
* @param request The binding invocation request.
433421
* @return a Mono with void.
434422
*
435-
* @deprecated It is recommended to use language-native HTTP clients or gRPC clients for binding invocation instead.
436423
*/
437-
@Deprecated
438424
Mono<Void> invokeBinding(InvokeBindingRequest request);
439425

440426
/**
@@ -445,9 +431,7 @@ <T> Mono<T> invokeBinding(String bindingName, String operation, Object data, Map
445431
* @param <T> The type of the return
446432
* @return a Mono plan of type T.
447433
*
448-
* @deprecated It is recommended to use language-native HTTP clients or gRPC clients for binding invocation instead.
449434
*/
450-
@Deprecated
451435
<T> Mono<T> invokeBinding(InvokeBindingRequest request, TypeRef<T> type);
452436

453437
/**

0 commit comments

Comments
 (0)