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