Class HTTPHeader
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.HTTPHeader
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<HTTPHeaderBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HTTPHeader extends Object implements io.fabric8.kubernetes.api.builder.Editable<HTTPHeaderBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
HTTPHeader represents an HTTP Header name and value as defined by RFC 7230.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTTPHeader()
No args constructor for use in serializationHTTPHeader(String name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTTPHeaderBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getName()
Name is the name of the HTTP Header to be matched.String
getValue()
Value is the value of HTTP Header to be matched.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setName(String name)
Name is the name of the HTTP Header to be matched.void
setValue(String value)
Value is the value of HTTP Header to be matched.HTTPHeaderBuilder
toBuilder()
-
-
-
Method Detail
-
getName
public String getName()
Name is the name of the HTTP Header to be matched. Name matching MUST be case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).If multiple entries specify equivalent header names, the first entry with an equivalent name MUST be considered for a match. Subsequent entries with an equivalent header name MUST be ignored. Due to the case-insensitivity of header names, "foo" and "Foo" are considered equivalent.
-
setName
public void setName(String name)
Name is the name of the HTTP Header to be matched. Name matching MUST be case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).If multiple entries specify equivalent header names, the first entry with an equivalent name MUST be considered for a match. Subsequent entries with an equivalent header name MUST be ignored. Due to the case-insensitivity of header names, "foo" and "Foo" are considered equivalent.
-
getValue
public String getValue()
Value is the value of HTTP Header to be matched.
-
setValue
public void setValue(String value)
Value is the value of HTTP Header to be matched.
-
edit
public HTTPHeaderBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<HTTPHeaderBuilder>
-
toBuilder
public HTTPHeaderBuilder toBuilder()
-
-