public static class AddHttpRequestHeaderRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AddHttpRequestHeaderRule |
build() |
AddHttpRequestHeaderRule.Builder |
copy(AddHttpRequestHeaderRule model) |
AddHttpRequestHeaderRule.Builder |
header(String header)
A header name that conforms to RFC 7230.
|
AddHttpRequestHeaderRule.Builder |
value(String value)
A header value that conforms to RFC 7230.
|
public AddHttpRequestHeaderRule.Builder header(String header)
A header name that conforms to RFC 7230.
Example: example_header_name
header
- the value to setpublic AddHttpRequestHeaderRule.Builder value(String value)
A header value that conforms 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_value
value
- the value to setpublic AddHttpRequestHeaderRule build()
public AddHttpRequestHeaderRule.Builder copy(AddHttpRequestHeaderRule model)
Copyright © 2016–2024. All rights reserved.