Interface ConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Config,Config.Builder
public interface ConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true then query parameters in request's URL path will be removed.booleanIf true then requests with content type set to ``application/x-protobuf`` will be automatically converted to gRPC.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUpgradeProtobufToGrpc
boolean getUpgradeProtobufToGrpc()If true then requests with content type set to ``application/x-protobuf`` will be automatically converted to gRPC. This works by prepending the payload data with the gRPC header frame, as defined by the wiring format, and Content-Type will be updated accordingly before sending the request. For the requests that went through this upgrade the filter will also strip the frame before forwarding the response to the client.
bool upgrade_protobuf_to_grpc = 1;- Returns:
- The upgradeProtobufToGrpc.
-
getIgnoreQueryParameters
boolean getIgnoreQueryParameters()If true then query parameters in request's URL path will be removed.
bool ignore_query_parameters = 2;- Returns:
- The ignoreQueryParameters.
-