Class LoggedResponseDefinitionTransformer
- java.lang.Object
-
- com.github.tomakehurst.wiremock.recording.LoggedResponseDefinitionTransformer
-
- All Implemented Interfaces:
com.google.common.base.Function<LoggedResponse,ResponseDefinition>
,java.util.function.Function<LoggedResponse,ResponseDefinition>
public class LoggedResponseDefinitionTransformer extends java.lang.Object implements com.google.common.base.Function<LoggedResponse,ResponseDefinition>
Transforms a LoggedResponse into a ResponseDefinition, which will be used to construct a StubMapping
-
-
Constructor Summary
Constructors Constructor Description LoggedResponseDefinitionTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseDefinition
apply(LoggedResponse response)
-
-
-
Method Detail
-
apply
public ResponseDefinition apply(LoggedResponse response)
- Specified by:
apply
in interfacecom.google.common.base.Function<LoggedResponse,ResponseDefinition>
- Specified by:
apply
in interfacejava.util.function.Function<LoggedResponse,ResponseDefinition>
-
-