public static class HeaderFieldSpecification.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HeaderFieldSpecification |
build() |
HeaderFieldSpecification.Builder |
copy(HeaderFieldSpecification model) |
HeaderFieldSpecification.Builder |
name(String name)
Name of the header.
|
HeaderFieldSpecification.Builder |
value(String value)
Value of the header.
|
public HeaderFieldSpecification.Builder name(String name)
Name of the header.
name
- the value to setpublic HeaderFieldSpecification.Builder value(String value)
Value of the header.
value
- the value to setpublic HeaderFieldSpecification build()
public HeaderFieldSpecification.Builder copy(HeaderFieldSpecification model)
Copyright © 2016–2024. All rights reserved.