org.mockserver.mockserver
Class MockServerBuilder

java.lang.Object
  extended by org.mockserver.mockserver.MockServerBuilder

public class MockServerBuilder
extends Object

Author:
jamesdbloom

Constructor Summary
MockServerBuilder()
           
 
Method Summary
 MockServer build()
          Build an instance of the MockServer
 MockServerBuilder withHTTPPort(Integer... ports)
          Configure HTTP and HTTPS ports
 MockServerBuilder withStopEventQueue(StopEventQueue stopEventQueue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockServerBuilder

public MockServerBuilder()
Method Detail

withStopEventQueue

public MockServerBuilder withStopEventQueue(StopEventQueue stopEventQueue)

withHTTPPort

public MockServerBuilder withHTTPPort(Integer... ports)
Configure HTTP and HTTPS ports

Parameters:
ports - the HTTP ports to use

build

public MockServer build()
Build an instance of the MockServer



Copyright © 2017. All rights reserved.