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