Class PostServeAction
java.lang.Object
com.github.tomakehurst.wiremock.extension.PostServeAction
- All Implemented Interfaces:
Extension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doAction
(ServeEvent serveEvent, Admin admin, Parameters parameters) Do something after a request has been served.void
doGlobalAction
(ServeEvent serveEvent, Admin admin) Do something after a request has been served.
-
Constructor Details
-
PostServeAction
public PostServeAction()
-
-
Method Details
-
doAction
Do something after a request has been served. Called when this extension is applied to a specific stub mapping.- Parameters:
serveEvent
- the serve event, including the request and the response definitionadmin
- WireMock's admin functionsparameters
- the parameters passed to the extension from the stub mapping
-
doGlobalAction
Do something after a request has been served. Called when this extension is applied to a specific stub mapping.- Parameters:
serveEvent
- the serve event, including the request and the response definitionadmin
- WireMock's admin functions
-