Class RateLimitService.Stub
- java.lang.Object
-
- io.envoyproxy.envoy.service.ratelimit.v3.RateLimitService
-
- io.envoyproxy.envoy.service.ratelimit.v3.RateLimitService.Stub
-
- All Implemented Interfaces:
com.google.protobuf.Service,RateLimitService.Interface
- Enclosing class:
- RateLimitService
public static final class RateLimitService.Stub extends RateLimitService implements RateLimitService.Interface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.envoyproxy.envoy.service.ratelimit.v3.RateLimitService
RateLimitService.BlockingInterface, RateLimitService.Interface, RateLimitService.Stub
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.protobuf.RpcChannelgetChannel()voidshouldRateLimit(com.google.protobuf.RpcController controller, RateLimitRequest request, com.google.protobuf.RpcCallback<RateLimitResponse> done)Determine whether rate limiting should take place.-
Methods inherited from class io.envoyproxy.envoy.service.ratelimit.v3.RateLimitService
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStub
-
-
-
-
Method Detail
-
getChannel
public com.google.protobuf.RpcChannel getChannel()
-
shouldRateLimit
public void shouldRateLimit(com.google.protobuf.RpcController controller, RateLimitRequest request, com.google.protobuf.RpcCallback<RateLimitResponse> done)Description copied from class:RateLimitServiceDetermine whether rate limiting should take place.
rpc ShouldRateLimit(.envoy.service.ratelimit.v3.RateLimitRequest) returns (.envoy.service.ratelimit.v3.RateLimitResponse);- Specified by:
shouldRateLimitin interfaceRateLimitService.Interface- Specified by:
shouldRateLimitin classRateLimitService
-
-