| Modifier and Type | Method and Description | 
|---|---|
ForwardChainExpectation | 
MockServerClient.when(RequestDefinition requestDefinition,
    Times times,
    TimeToLive timeToLive)
Specify a limited expectation that will respond a specified number of times when the http is matched 
 | 
ForwardChainExpectation | 
MockServerClient.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: 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static TimeToLive | 
TimeToLive.exactly(TimeUnit timeUnit,
       Long timeToLive)  | 
TimeToLive | 
TimeToLive.setEndDate(long endDate)  | 
static TimeToLive | 
TimeToLive.unlimited()  | 
| Modifier and Type | Method and Description | 
|---|---|
TimeToLive | 
Expectation.getTimeToLive()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Expectation | 
Expectation.when(HttpRequest httpRequest,
    Times times,
    TimeToLive timeToLive)
Specify the HttpRequest to match against for a limit number of times or time as follows: 
 | 
static Expectation | 
Expectation.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: 
 | 
static Expectation | 
Expectation.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 Expectation | 
Expectation.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: 
 | 
| Constructor and Description | 
|---|
Expectation(RequestDefinition requestDefinition,
           Times times,
           TimeToLive timeToLive,
           int priority)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
TimeToLiveToJavaSerializer.serialize(int numberOfSpacesToIndent,
         TimeToLive timeToLive)  | 
| Modifier and Type | Method and Description | 
|---|---|
TimeToLive | 
TimeToLiveDTO.buildObject()  | 
| Constructor and Description | 
|---|
TimeToLiveDTO(TimeToLive timeToLive)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TimeToLiveSerializer.serialize(TimeToLive timeToLive,
         com.fasterxml.jackson.core.JsonGenerator jgen,
         com.fasterxml.jackson.databind.SerializerProvider provider)  | 
Copyright © 2022. All rights reserved.