Class ForwardBodyConfig
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.ForwardBodyConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ForwardBodyConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ForwardBodyConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<ForwardBodyConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ForwardBody configures if requests to the authorization server should include the body of the client request; and if so, how big that body is allowed to be.If empty or unset, do not forward the body.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ForwardBodyConfig()No args constructor for use in serializationForwardBodyConfig(Integer maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ForwardBodyConfigBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMaxSize()MaxSize specifies how large in bytes the largest body that will be buffered and sent to the authorization server.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMaxSize(Integer maxSize)MaxSize specifies how large in bytes the largest body that will be buffered and sent to the authorization server.ForwardBodyConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
ForwardBodyConfig
public ForwardBodyConfig()
No args constructor for use in serialization
-
ForwardBodyConfig
public ForwardBodyConfig(Integer maxSize)
-
-
Method Detail
-
getMaxSize
public Integer getMaxSize()
MaxSize specifies how large in bytes the largest body that will be buffered and sent to the authorization server. If the body size is larger than `maxSize`, then the body sent to the authorization server must be truncated to `maxSize` bytes.Experimental note: This behavior needs to be checked against various dataplanes; it may need to be changed. See https://github.com/kubernetes-sigs/gateway-api/pull/4001#discussion_r2291405746 for more.
If 0, the body will not be sent to the authorization server.
-
setMaxSize
public void setMaxSize(Integer maxSize)
MaxSize specifies how large in bytes the largest body that will be buffered and sent to the authorization server. If the body size is larger than `maxSize`, then the body sent to the authorization server must be truncated to `maxSize` bytes.Experimental note: This behavior needs to be checked against various dataplanes; it may need to be changed. See https://github.com/kubernetes-sigs/gateway-api/pull/4001#discussion_r2291405746 for more.
If 0, the body will not be sent to the authorization server.
-
edit
public ForwardBodyConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ForwardBodyConfigBuilder>
-
toBuilder
public ForwardBodyConfigBuilder toBuilder()
-
-