Class PostServeAction
- java.lang.Object
-
- com.github.tomakehurst.wiremock.extension.PostServeAction
-
- All Implemented Interfaces:
Extension
@Deprecated public abstract class PostServeAction extends java.lang.Object implements Extension
Deprecated.UseServeEventListenerinstead.
-
-
Constructor Summary
Constructors Constructor Description PostServeAction()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddoAction(ServeEvent serveEvent, Admin admin, Parameters parameters)Deprecated.Do something after a request has been served.voiddoGlobalAction(ServeEvent serveEvent, Admin admin)Deprecated.Do something after a request has been served.
-
-
-
Method Detail
-
doAction
public void doAction(ServeEvent serveEvent, Admin admin, Parameters parameters)
Deprecated.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
public void doGlobalAction(ServeEvent serveEvent, Admin admin)
Deprecated.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
-
-