Uses of Class
org.mockserver.matchers.TimeToLive
-
-
Uses of TimeToLive in org.mockserver.client
Methods in org.mockserver.client with parameters of type TimeToLive Modifier and Type Method Description ForwardChainExpectationMockServerClient. when(RequestDefinition requestDefinition, Times times, TimeToLive timeToLive)Specify a limited expectation that will respond a specified number of times when the http is matchedForwardChainExpectationMockServerClient. when(RequestDefinition requestDefinition, Times times, TimeToLive timeToLive, Integer priority)Specify a limited expectation that will respond a specified number of times when the http is matched and will be matched according to priority as follows: -
Uses of TimeToLive in org.mockserver.matchers
Methods in org.mockserver.matchers that return TimeToLive Modifier and Type Method Description static TimeToLiveTimeToLive. exactly(TimeUnit timeUnit, Long timeToLive)TimeToLiveTimeToLive. setEndDate(long endDate)static TimeToLiveTimeToLive. unlimited() -
Uses of TimeToLive in org.mockserver.mock
Methods in org.mockserver.mock that return TimeToLive Modifier and Type Method Description TimeToLiveExpectation. getTimeToLive()Methods in org.mockserver.mock with parameters of type TimeToLive Modifier and Type Method Description static ExpectationExpectation. when(String specUrlOrPayload, String operationId, Times times, TimeToLive timeToLive)Specify the OpenAPI and operationId to match against by URL or payload and string for a limit number of times or time as follows:static ExpectationExpectation. when(String specUrlOrPayload, String operationId, Times times, TimeToLive timeToLive, int priority)Specify the OpenAPI and operationId to match against by URL or payload and string for a limit number of times or time and a match priority as follows:static ExpectationExpectation. when(HttpRequest httpRequest, Times times, TimeToLive timeToLive)Specify the HttpRequest to match against for a limit number of times or time as follows:static ExpectationExpectation. when(HttpRequest httpRequest, Times times, TimeToLive timeToLive, int priority)Specify the HttpRequest to match against for a limit number of times or time and a match priority as follows:Constructors in org.mockserver.mock with parameters of type TimeToLive Constructor Description Expectation(RequestDefinition requestDefinition, Times times, TimeToLive timeToLive, int priority) -
Uses of TimeToLive in org.mockserver.serialization.java
Methods in org.mockserver.serialization.java with parameters of type TimeToLive Modifier and Type Method Description StringTimeToLiveToJavaSerializer. serialize(int numberOfSpacesToIndent, TimeToLive timeToLive) -
Uses of TimeToLive in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return TimeToLive Modifier and Type Method Description TimeToLiveTimeToLiveDTO. buildObject()Constructors in org.mockserver.serialization.model with parameters of type TimeToLive Constructor Description TimeToLiveDTO(TimeToLive timeToLive) -
Uses of TimeToLive in org.mockserver.serialization.serializers.response
Methods in org.mockserver.serialization.serializers.response with parameters of type TimeToLive Modifier and Type Method Description voidTimeToLiveSerializer. serialize(TimeToLive timeToLive, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-