Class ExceptionTransformingServerStreamingCallable<RequestT,ResponseT>
- java.lang.Object
-
- com.google.api.gax.rpc.ServerStreamingCallable<RequestT,ResponseT>
-
- com.google.ads.googleads.lib.stubs.callables.ExceptionTransformingServerStreamingCallable<RequestT,ResponseT>
-
public class ExceptionTransformingServerStreamingCallable<RequestT,ResponseT> extends com.google.api.gax.rpc.ServerStreamingCallable<RequestT,ResponseT>Wrapper around aServerStreamingCallablewhich invokes anExceptionTransformationforThrowables which occur on the stream.NOTE: This class could be pushed into the gax library, as it is not specific to the Google Ads API.
-
-
Constructor Summary
Constructors Constructor Description ExceptionTransformingServerStreamingCallable(com.google.api.gax.rpc.ServerStreamingCallable<RequestT,ResponseT> innerCallable, ExceptionTransformation exceptionTransformation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcall(RequestT request, com.google.api.gax.rpc.ResponseObserver<ResponseT> responseObserver, com.google.api.gax.rpc.ApiCallContext context)
-
-
-
Constructor Detail
-
ExceptionTransformingServerStreamingCallable
public ExceptionTransformingServerStreamingCallable(com.google.api.gax.rpc.ServerStreamingCallable<RequestT,ResponseT> innerCallable, ExceptionTransformation exceptionTransformation)
-
-