mirror of https://github.com/grpc/grpc-java.git
This change adds two booleans to the ChannelBuilders to allow transports to use get and put. These are currently defaulted to on, but unset on the method descriptors. This change is 1/2 that will allow the safe / idempotent bits to be set on generated proto code. Part 2/2 will actually enable it. The use case for this is for interceptors that implement caching logic. They need to be able to access the safe/idempotent bits on the MD in order to decide to how to handle the request, even if gRPC doesn't use GET / PUT HTTP methods. |
||
|---|---|---|
| .. | ||
| src | ||
| third_party/okhttp | ||
| BUILD.bazel | ||
| build.gradle | ||