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>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RateLimitServiceGrpc.RateLimitServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidshouldRateLimit(RateLimitRequest request, io.grpc.stub.StreamObserver<RateLimitResponse> responseObserver)Determine whether rate limiting should take place.
-
-
-
Method Detail
-
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.
-
-