Method and Description |
---|
net.jadler.RequestManager.numberOfRequestsMatching(Collection<Matcher<? super Request>>)
this (rather internal) method has been deprecated. Please use
RequestManager.evaluateVerification(java.util.Collection, org.hamcrest.Matcher) instead |
net.jadler.JadlerMocker.numberOfRequestsMatching(Collection<Matcher<? super Request>>) |
net.jadler.Jadler.OngoingConfiguration.respondsWithDefaultContentType(String)
use
Jadler.OngoingConfiguration.withDefaultResponseContentType(java.lang.String) instead
Defines a default content type of every stub http response. This value will be used for all stub responses
with no specific content type defined. (see ResponseStubbing.withContentType(java.lang.String) ) |
net.jadler.Jadler.OngoingConfiguration.respondsWithDefaultEncoding(Charset)
use
Jadler.OngoingConfiguration.withDefaultResponseEncoding(java.nio.charset.Charset) instead
Defines a default encoding of every stub http response. This value will be used for all stub responses
with no specific encoding defined. (see ResponseStubbing.withEncoding(java.nio.charset.Charset) ) |
net.jadler.Jadler.OngoingConfiguration.respondsWithDefaultHeader(String, String)
use
Jadler.OngoingConfiguration.withDefaultResponseHeader(java.lang.String, java.lang.String) instead
Defines a response header that will be sent in every http stub response.
Can be called repeatedly to define more headers. |
net.jadler.Jadler.OngoingConfiguration.respondsWithDefaultStatus(int)
use
Jadler.OngoingConfiguration.withDefaultResponseStatus(int) instead
Sets the default http response status. This value will be used for all stub responses with no
specific http status defined. (see ResponseStubbing.withStatus(int) ) |
net.jadler.Jadler.OngoingConfiguration.skipsRequestsRecording()
use
Jadler.OngoingConfiguration.withRequestsRecordingDisabled() instead
Disables incoming http requests recording. Jadler mocking (verification) capabilities are implemented by storing all incoming requests (including their
bodies). This could cause troubles in some very specific testing scenarios, for further explanation jump
straight to Please note this method should be used very rarely and definitely should not be treated as a default. |
net.jadler.Jadler.OngoingConfiguration.that()
added just for backward compatibility reasons, does nothing but returning this ongoing
configuration instance. Use the configuration methods of this instance directly instead.
|
Copyright © 2016. All Rights Reserved.