public static class ExtendHttpRequestHeaderValueRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExtendHttpRequestHeaderValueRule |
build() |
ExtendHttpRequestHeaderValueRule.Builder |
copy(ExtendHttpRequestHeaderValueRule model) |
ExtendHttpRequestHeaderValueRule.Builder |
header(String header)
A header name that conforms to RFC 7230.
|
ExtendHttpRequestHeaderValueRule.Builder |
prefix(String prefix)
A string to prepend to the header value.
|
ExtendHttpRequestHeaderValueRule.Builder |
suffix(String suffix)
A string to append to the header value.
|
public ExtendHttpRequestHeaderValueRule.Builder header(String header)
A header name that conforms to RFC 7230.
Example: example_header_name
header
- the value to setpublic ExtendHttpRequestHeaderValueRule.Builder prefix(String prefix)
A string to prepend to the header value. The resulting header value must conform to RFC
7230. With the following exceptions: * value cannot contain $
* value cannot
contain patterns like {variable_name}
. They are reserved for future extensions.
Currently, such values are invalid.
Example: example_prefix_value
prefix
- the value to setpublic ExtendHttpRequestHeaderValueRule.Builder suffix(String suffix)
A string to append to the header value. The resulting header value must conform to RFC
7230. With the following exceptions: * value cannot contain $
* value cannot
contain patterns like {variable_name}
. They are reserved for future extensions.
Currently, such values are invalid.
Example: example_suffix_value
suffix
- the value to setpublic ExtendHttpRequestHeaderValueRule build()
public ExtendHttpRequestHeaderValueRule.Builder copy(ExtendHttpRequestHeaderValueRule model)
Copyright © 2016–2024. All rights reserved.