public class CustomHttpHeaderOptions
extends java.lang.Object
| Constructor and Description |
|---|
CustomHttpHeaderOptions()
Default Constructor
|
CustomHttpHeaderOptions(CustomHttpHeaderOptions other)
Default copy constructor
|
CustomHttpHeaderOptions(io.vertx.core.json.JsonObject json)
Creates from JSON
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
getValue() |
CustomHttpHeaderOptions |
setName(java.lang.String name)
Name of the request header.
|
CustomHttpHeaderOptions |
setValue(java.lang.String value)
Value of the request header.
|
io.vertx.core.json.JsonObject |
toJson()
Convert to JSON
|
public CustomHttpHeaderOptions()
public CustomHttpHeaderOptions(CustomHttpHeaderOptions other)
other - the customHeader configuration to copypublic CustomHttpHeaderOptions(io.vertx.core.json.JsonObject json)
json - the JSONpublic io.vertx.core.json.JsonObject toJson()
public CustomHttpHeaderOptions setName(java.lang.String name)
name - name of the custom headerpublic CustomHttpHeaderOptions setValue(java.lang.String value)
value - value of the custom headerpublic java.lang.String getName()
public java.lang.String getValue()