public static class HttpHeaderRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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
areInvalidCharactersAllowed
- the value to setpublic 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.
httpLargeHeaderSizeInKB
- the value to setpublic HttpHeaderRule build()
public HttpHeaderRule.Builder copy(HttpHeaderRule model)
Copyright © 2016–2024. All rights reserved.