Package | Description |
---|---|
net.jadler | |
net.jadler.junit.rule |
Modifier and Type | Class and Description |
---|---|
static class |
Jadler.OngoingConfiguration
This class serves as a DSL support for additional Jadler configuration.
|
Modifier and Type | Method and Description |
---|---|
JadlerConfiguration |
JadlerConfiguration.withDefaultResponseContentType(String defaultContentType)
Defines a default content type of every stub http response.
|
JadlerConfiguration |
JadlerConfiguration.withDefaultResponseEncoding(Charset defaultEncoding)
Defines a default encoding of every stub http response.
|
JadlerConfiguration |
JadlerConfiguration.withDefaultResponseHeader(String name,
String value)
Defines a response header that will be sent in every http stub response.
|
JadlerConfiguration |
JadlerConfiguration.withDefaultResponseStatus(int defaultStatus)
Sets the default http response status.
|
JadlerConfiguration |
JadlerConfiguration.withRequestsRecordingDisabled()
Disables incoming http requests recording.
|
Modifier and Type | Class and Description |
---|---|
class |
JadlerRule
JUnit rule which simplifies the creation of a Jadler instance.
|
Copyright © 2016. All Rights Reserved.