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 a
ServerStreamingCallable which invokes an ExceptionTransformation
for Throwables 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
ConstructorsConstructorDescriptionExceptionTransformingServerStreamingCallable(com.google.api.gax.rpc.ServerStreamingCallable<RequestT, ResponseT> innerCallable, ExceptionTransformation exceptionTransformation) -
Method Summary
Methods inherited from class com.google.api.gax.rpc.ServerStreamingCallable
all, blockingServerStreamingCall, blockingServerStreamingCall, call, call, call, first, serverStreamingCall, serverStreamingCall, withDefaultCallContext
-
Constructor Details
-
ExceptionTransformingServerStreamingCallable
public ExceptionTransformingServerStreamingCallable(com.google.api.gax.rpc.ServerStreamingCallable<RequestT, ResponseT> innerCallable, ExceptionTransformation exceptionTransformation)
-
-
Method Details