Class HttpHeaderRule.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.HttpHeaderRule.Builder
-
- Enclosing class:
- HttpHeaderRule
public static class HttpHeaderRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpHeaderRule.Builder
areInvalidCharactersAllowed(Boolean areInvalidCharactersAllowed)
Indicates whether or not invalid characters in client header fields will be allowed.HttpHeaderRule
build()
HttpHeaderRule.Builder
copy(HttpHeaderRule model)
HttpHeaderRule.Builder
httpLargeHeaderSizeInKB(Integer httpLargeHeaderSizeInKB)
The maximum size of each buffer used for reading http client request header.
-
-
-
Method Detail
-
areInvalidCharactersAllowed
public HttpHeaderRule.Builder areInvalidCharactersAllowed(Boolean areInvalidCharactersAllowed)
Indicates whether or not invalid characters in client header fields will be allowed.Valid names are composed of English letters, digits, hyphens and underscores. If “true”, invalid characters are allowed in the HTTP header. If “false”, invalid characters are not allowed in the HTTP header
- Parameters:
areInvalidCharactersAllowed
- the value to set- Returns:
- this builder
-
httpLargeHeaderSizeInKB
public HttpHeaderRule.Builder httpLargeHeaderSizeInKB(Integer httpLargeHeaderSizeInKB)
The maximum size of each buffer used for reading http client request header.This value indicates the maximum size allowed for each buffer. The allowed values for buffer size are 8, 16, 32 and 64.
- Parameters:
httpLargeHeaderSizeInKB
- the value to set- Returns:
- this builder
-
build
public HttpHeaderRule build()
-
copy
public HttpHeaderRule.Builder copy(HttpHeaderRule model)
-
-