Class 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 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.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)