Class GenericBodyProcessor
-
- All Implemented Interfaces:
-
de.smartsquare.squit.mediatype.BodyProcessor
public final class GenericBodyProcessor implements BodyProcessor
Generic BodyProcessor implementation which simply copies over the request and responses.
-
-
Constructor Summary
Constructors Constructor Description GenericBodyProcessor()
-
Method Summary
Modifier and Type Method Description UnitpreProcess(Path requestPath, Path responsePath, Path resultRequestPath, Path resultResponsePath, Config config)Processes the request and response at the given requestPath and responsePath with the given config and writes the results to the resultRequestPath and resultResponsePath. UnitpostProcess(Path actualResponsePath, Path expectedResponsePath, Path resultActualResponseFilePath, Config config)Processes the request and response at the given actualResponsePath and expectedResponsePath with the given config and writes the resulting actual response to the resultActualResponseFilePath. -
-
Method Detail
-
preProcess
Unit preProcess(Path requestPath, Path responsePath, Path resultRequestPath, Path resultResponsePath, Config config)
Processes the request and response at the given requestPath and responsePath with the given config and writes the results to the resultRequestPath and resultResponsePath.
-
postProcess
Unit postProcess(Path actualResponsePath, Path expectedResponsePath, Path resultActualResponseFilePath, Config config)
Processes the request and response at the given actualResponsePath and expectedResponsePath with the given config and writes the resulting actual response to the resultActualResponseFilePath.
-
-
-
-