Class RateLimitServiceGrpc.RateLimitServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<RateLimitServiceGrpc.RateLimitServiceStub>
io.envoyproxy.envoy.service.ratelimit.v2.RateLimitServiceGrpc.RateLimitServiceStub
- Enclosing class:
- RateLimitServiceGrpc
public static final class RateLimitServiceGrpc.RateLimitServiceStub
extends io.grpc.stub.AbstractAsyncStub<RateLimitServiceGrpc.RateLimitServiceStub>
A stub to allow clients to do asynchronous rpc calls to service RateLimitService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidshouldRateLimit(RateLimitRequest request, io.grpc.stub.StreamObserver<RateLimitResponse> responseObserver) Determine whether rate limiting should take place.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected RateLimitServiceGrpc.RateLimitServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RateLimitServiceGrpc.RateLimitServiceStub>
-
shouldRateLimit
public void shouldRateLimit(RateLimitRequest request, io.grpc.stub.StreamObserver<RateLimitResponse> responseObserver) Determine whether rate limiting should take place.
-