Class IntegrationTestBase.Callback

  • All Implemented Interfaces:
    org.mockserver.mock.action.ExpectationCallback<org.mockserver.model.HttpRequest>, org.mockserver.mock.action.ExpectationForwardAndResponseCallback, org.mockserver.mock.action.ExpectationForwardCallback
    Enclosing class:
    IntegrationTestBase

    public static class IntegrationTestBase.Callback
    extends Object
    implements org.mockserver.mock.action.ExpectationForwardAndResponseCallback
    • Constructor Detail

      • Callback

        public Callback()
    • Method Detail

      • handle

        public org.mockserver.model.HttpRequest handle​(org.mockserver.model.HttpRequest request)
                                                throws Exception
        Specified by:
        handle in interface org.mockserver.mock.action.ExpectationCallback<org.mockserver.model.HttpRequest>
        Specified by:
        handle in interface org.mockserver.mock.action.ExpectationForwardAndResponseCallback
        Specified by:
        handle in interface org.mockserver.mock.action.ExpectationForwardCallback
        Throws:
        Exception
      • handle

        public org.mockserver.model.HttpResponse handle​(org.mockserver.model.HttpRequest request,
                                                        org.mockserver.model.HttpResponse response)
                                                 throws Exception
        Specified by:
        handle in interface org.mockserver.mock.action.ExpectationForwardAndResponseCallback
        Throws:
        Exception