Package 

Class BaseJdkMockServer

  • All Implemented Interfaces:
    au.com.dius.pact.consumer.MockServer , com.sun.net.httpserver.HttpHandler

    
    public abstract class BaseJdkMockServer
    extends BaseMockServer implements HttpHandler
                        
    • Method Summary

      Modifier and Type Method Description
      final BasePact getPact()
      final MockProviderConfig getConfig()
      Unit handle(HttpExchange exchange)
      final Request toPactRequest(HttpExchange exchange)
      Unit start()
      Unit stop()
      String getUrl() Returns the URL for this mock server.
      Integer getPort() Returns the port of the mock server.
      • Methods inherited from class au.com.dius.pact.consumer.BaseJdkMockServer

        runAndWritePact, validateMockServerState, verifyResultAndWritePact, waitForServer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait