Class IngressControllerCaptureHTTPCookie
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.IngressControllerCaptureHTTPCookie
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<IngressControllerCaptureHTTPCookieBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class IngressControllerCaptureHTTPCookie extends Object implements io.fabric8.kubernetes.api.builder.Editable<IngressControllerCaptureHTTPCookieBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
IngressControllerCaptureHTTPCookie describes an HTTP cookie that should be captured.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IngressControllerCaptureHTTPCookie()No args constructor for use in serializationIngressControllerCaptureHTTPCookie(String matchType, Integer maxLength, String name, String namePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressControllerCaptureHTTPCookieBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMatchType()matchType specifies the type of match to be performed on the cookie name.IntegergetMaxLength()maxLength specifies a maximum length of the string that will be logged, which includes the cookie name, cookie value, and one-character delimiter.StringgetName()name specifies a cookie name.StringgetNamePrefix()namePrefix specifies a cookie name prefix.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMatchType(String matchType)matchType specifies the type of match to be performed on the cookie name.voidsetMaxLength(Integer maxLength)maxLength specifies a maximum length of the string that will be logged, which includes the cookie name, cookie value, and one-character delimiter.voidsetName(String name)name specifies a cookie name.voidsetNamePrefix(String namePrefix)namePrefix specifies a cookie name prefix.IngressControllerCaptureHTTPCookieBuildertoBuilder()
-
-
-
Method Detail
-
getMatchType
public String getMatchType()
matchType specifies the type of match to be performed on the cookie name. Allowed values are "Exact" for an exact string match and "Prefix" for a string prefix match. If "Exact" is specified, a name must be specified in the name field. If "Prefix" is provided, a prefix must be specified in the namePrefix field. For example, specifying matchType "Prefix" and namePrefix "foo" will capture a cookie named "foo" or "foobar" but not one named "bar". The first matching cookie is captured.
-
setMatchType
public void setMatchType(String matchType)
matchType specifies the type of match to be performed on the cookie name. Allowed values are "Exact" for an exact string match and "Prefix" for a string prefix match. If "Exact" is specified, a name must be specified in the name field. If "Prefix" is provided, a prefix must be specified in the namePrefix field. For example, specifying matchType "Prefix" and namePrefix "foo" will capture a cookie named "foo" or "foobar" but not one named "bar". The first matching cookie is captured.
-
getMaxLength
public Integer getMaxLength()
maxLength specifies a maximum length of the string that will be logged, which includes the cookie name, cookie value, and one-character delimiter. If the log entry exceeds this length, the value will be truncated in the log message. Note that the ingress controller may impose a separate bound on the total length of HTTP headers in a request.
-
setMaxLength
public void setMaxLength(Integer maxLength)
maxLength specifies a maximum length of the string that will be logged, which includes the cookie name, cookie value, and one-character delimiter. If the log entry exceeds this length, the value will be truncated in the log message. Note that the ingress controller may impose a separate bound on the total length of HTTP headers in a request.
-
getName
public String getName()
name specifies a cookie name. Its value must be a valid HTTP cookie name as defined in RFC 6265 section 4.1.
-
setName
public void setName(String name)
name specifies a cookie name. Its value must be a valid HTTP cookie name as defined in RFC 6265 section 4.1.
-
getNamePrefix
public String getNamePrefix()
namePrefix specifies a cookie name prefix. Its value must be a valid HTTP cookie name as defined in RFC 6265 section 4.1.
-
setNamePrefix
public void setNamePrefix(String namePrefix)
namePrefix specifies a cookie name prefix. Its value must be a valid HTTP cookie name as defined in RFC 6265 section 4.1.
-
edit
public IngressControllerCaptureHTTPCookieBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<IngressControllerCaptureHTTPCookieBuilder>
-
toBuilder
public IngressControllerCaptureHTTPCookieBuilder toBuilder()
-
-