Interface MockServerConfigurer

    • Method Detail

      • afterConfigureAdded

        default void afterConfigureAdded(WebTestClient.MockServerSpec<?> serverSpec)
        Invoked immediately, i.e. before this method returns.
        serverSpec - the serverSpec to which the configurer is added
      • beforeServerCreated

        default void beforeServerCreated(WebHttpHandlerBuilder builder)
        Invoked just before the mock server is built. Use this hook to inspect and/or modify application-declared filtes and exception handlers,
        builder - the builder for the HttpHandler that will handle requests (i.e. the mock server)