Interface HttpRoute.URLRewriteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpRoute.URLRewrite,HttpRoute.URLRewrite.Builder
- Enclosing class:
- HttpRoute
public static interface HttpRoute.URLRewriteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPrior to forwarding the request to the selected destination, the requests host header is replaced by this value.com.google.protobuf.ByteStringPrior to forwarding the request to the selected destination, the requests host header is replaced by this value.Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.com.google.protobuf.ByteStringPrior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.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
-
getPathPrefixRewrite
String getPathPrefixRewrite()Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
string path_prefix_rewrite = 1;- Returns:
- The pathPrefixRewrite.
-
getPathPrefixRewriteBytes
com.google.protobuf.ByteString getPathPrefixRewriteBytes()Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
string path_prefix_rewrite = 1;- Returns:
- The bytes for pathPrefixRewrite.
-
getHostRewrite
String getHostRewrite()Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
string host_rewrite = 2;- Returns:
- The hostRewrite.
-
getHostRewriteBytes
com.google.protobuf.ByteString getHostRewriteBytes()Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
string host_rewrite = 2;- Returns:
- The bytes for hostRewrite.
-