Class IngressControllerHTTPUniqueIdHeaderPolicy
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.IngressControllerHTTPUniqueIdHeaderPolicy
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<IngressControllerHTTPUniqueIdHeaderPolicyBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class IngressControllerHTTPUniqueIdHeaderPolicy extends Object implements io.fabric8.kubernetes.api.builder.Editable<IngressControllerHTTPUniqueIdHeaderPolicyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
IngressControllerHTTPUniqueIdHeaderPolicy describes configuration for a unique id header.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IngressControllerHTTPUniqueIdHeaderPolicy()No args constructor for use in serializationIngressControllerHTTPUniqueIdHeaderPolicy(String format, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressControllerHTTPUniqueIdHeaderPolicyBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFormat()format specifies the format for the injected HTTP header's value.StringgetName()name specifies the name of the HTTP header (for example, "unique-id") that the ingress controller should inject into HTTP requests.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFormat(String format)format specifies the format for the injected HTTP header's value.voidsetName(String name)name specifies the name of the HTTP header (for example, "unique-id") that the ingress controller should inject into HTTP requests.IngressControllerHTTPUniqueIdHeaderPolicyBuildertoBuilder()
-
-
-
Method Detail
-
getFormat
public String getFormat()
format specifies the format for the injected HTTP header's value. This field has no effect unless name is specified. For the HAProxy-based ingress controller implementation, this format uses the same syntax as the HTTP log format. If the field is empty, the default value is "%{+X}o\\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid"; see the corresponding HAProxy documentation: http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#8.2.3
-
setFormat
public void setFormat(String format)
format specifies the format for the injected HTTP header's value. This field has no effect unless name is specified. For the HAProxy-based ingress controller implementation, this format uses the same syntax as the HTTP log format. If the field is empty, the default value is "%{+X}o\\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid"; see the corresponding HAProxy documentation: http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#8.2.3
-
getName
public String getName()
name specifies the name of the HTTP header (for example, "unique-id") that the ingress controller should inject into HTTP requests. The field's value must be a valid HTTP header name as defined in RFC 2616 section 4.2. If the field is empty, no header is injected.
-
setName
public void setName(String name)
name specifies the name of the HTTP header (for example, "unique-id") that the ingress controller should inject into HTTP requests. The field's value must be a valid HTTP header name as defined in RFC 2616 section 4.2. If the field is empty, no header is injected.
-
edit
public IngressControllerHTTPUniqueIdHeaderPolicyBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<IngressControllerHTTPUniqueIdHeaderPolicyBuilder>
-
toBuilder
public IngressControllerHTTPUniqueIdHeaderPolicyBuilder toBuilder()
-
-