Package | Description |
---|---|
net.jadler | |
net.jadler.stubbing |
Modifier and Type | Field and Description |
---|---|
static KeyValues |
KeyValues.EMPTY
An empty instance.
|
Modifier and Type | Method and Description |
---|---|
KeyValues |
KeyValues.add(String key,
String value)
Adds new key-value pair.
|
KeyValues |
KeyValues.addAll(KeyValues keyValues)
Adds all values from the given instance.
|
KeyValues |
Request.getHeaders() |
KeyValues |
Request.getParameters() |
Modifier and Type | Method and Description |
---|---|
KeyValues |
KeyValues.addAll(KeyValues keyValues)
Adds all values from the given instance.
|
Request.Builder |
Request.Builder.headers(KeyValues headers)
Sets the request headers (all previously defined headers will be lost).
|
Modifier and Type | Method and Description |
---|---|
KeyValues |
StubResponse.getHeaders() |
Modifier and Type | Method and Description |
---|---|
StubResponse.Builder |
StubResponse.Builder.headers(KeyValues headers)
Sets new stub response headers (all previously set headers are discarded).
|
Copyright © 2016. All Rights Reserved.