| Package | Description |
|---|---|
| io.envoyproxy.envoy.config.route.v4alpha |
| Modifier and Type | Method and Description |
|---|---|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllAllowOriginStringMatch(Iterable<? extends StringMatcher> values)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllowOriginStringMatch(int index,
StringMatcher.Builder builderForValue)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllowOriginStringMatch(int index,
StringMatcher value)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllowOriginStringMatch(StringMatcher.Builder builderForValue)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllowOriginStringMatch(StringMatcher value)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CorsPolicy.Builder |
CorsPolicy.Builder.clear() |
CorsPolicy.Builder |
CorsPolicy.Builder.clearAllowCredentials()
Specifies whether the resource allows credentials.
|
CorsPolicy.Builder |
CorsPolicy.Builder.clearAllowHeaders()
Specifies the content for the *access-control-allow-headers* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.clearAllowMethods()
Specifies the content for the *access-control-allow-methods* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.clearAllowOriginStringMatch()
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.clearEnabledSpecifier() |
CorsPolicy.Builder |
CorsPolicy.Builder.clearExposeHeaders()
Specifies the content for the *access-control-expose-headers* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CorsPolicy.Builder |
CorsPolicy.Builder.clearFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled.
|
CorsPolicy.Builder |
CorsPolicy.Builder.clearMaxAge()
Specifies the content for the *access-control-max-age* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CorsPolicy.Builder |
CorsPolicy.Builder.clearShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
CorsPolicy.Builder |
CorsPolicy.Builder.clone() |
CorsPolicy.Builder |
RouteAction.Builder.getCorsBuilder()
Indicates that the route has a CORS policy.
|
CorsPolicy.Builder |
VirtualHost.Builder.getCorsBuilder()
Indicates that the virtual host has a CORS policy.
|
CorsPolicy.Builder |
CorsPolicy.Builder.mergeAllowCredentials(com.google.protobuf.BoolValue value)
Specifies whether the resource allows credentials.
|
CorsPolicy.Builder |
CorsPolicy.Builder.mergeFilterEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS filter is enabled.
|
CorsPolicy.Builder |
CorsPolicy.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CorsPolicy.Builder |
CorsPolicy.Builder.mergeFrom(CorsPolicy other) |
CorsPolicy.Builder |
CorsPolicy.Builder.mergeFrom(com.google.protobuf.Message other) |
CorsPolicy.Builder |
CorsPolicy.Builder.mergeShadowEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
CorsPolicy.Builder |
CorsPolicy.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static CorsPolicy.Builder |
CorsPolicy.newBuilder() |
static CorsPolicy.Builder |
CorsPolicy.newBuilder(CorsPolicy prototype) |
CorsPolicy.Builder |
CorsPolicy.newBuilderForType() |
protected CorsPolicy.Builder |
CorsPolicy.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
CorsPolicy.Builder |
CorsPolicy.Builder.removeAllowOriginStringMatch(int index)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setAllowCredentials(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies whether the resource allows credentials.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setAllowCredentials(com.google.protobuf.BoolValue value)
Specifies whether the resource allows credentials.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setAllowHeaders(String value)
Specifies the content for the *access-control-allow-headers* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setAllowHeadersBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-allow-headers* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setAllowMethods(String value)
Specifies the content for the *access-control-allow-methods* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setAllowMethodsBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-allow-methods* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setAllowOriginStringMatch(int index,
StringMatcher.Builder builderForValue)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setAllowOriginStringMatch(int index,
StringMatcher value)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setExposeHeaders(String value)
Specifies the content for the *access-control-expose-headers* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setExposeHeadersBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-expose-headers* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CorsPolicy.Builder |
CorsPolicy.Builder.setFilterEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies the % of requests for which the CORS filter is enabled.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setFilterEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS filter is enabled.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setMaxAge(String value)
Specifies the content for the *access-control-max-age* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setMaxAgeBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-max-age* header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CorsPolicy.Builder |
CorsPolicy.Builder.setShadowEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setShadowEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CorsPolicy.Builder |
CorsPolicy.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
RouteAction.Builder |
RouteAction.Builder.setCors(CorsPolicy.Builder builderForValue)
Indicates that the route has a CORS policy.
|
VirtualHost.Builder |
VirtualHost.Builder.setCors(CorsPolicy.Builder builderForValue)
Indicates that the virtual host has a CORS policy.
|
Copyright © 2018–2021 The Envoy Project. All rights reserved.