Class PostServeAction

    • Constructor Detail

      • PostServeAction

        public PostServeAction()
        Deprecated.
    • 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 definition
        admin - WireMock's admin functions
        parameters - 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 definition
        admin - WireMock's admin functions