Package de.smartsquare.squit.mediatype
Interface BodyProcessor
-
- All Implemented Interfaces:
public interface BodyProcessorInterface for processing request bodies before and after sending/receiving.
-
-
Method Summary
Modifier and Type Method Description abstract 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. abstract 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
abstract 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
abstract 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.
-
-
-
-