org.mockserver.mockserver
Class MockServer
java.lang.Object
org.mockserver.mockserver.MockServer
public class MockServer
- extends Object
An HTTP server that sends back the content of the received HTTP request
in a pretty plaintext form.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockServer
public MockServer()
start
public Thread start(Integer port,
Integer securePort)
- Start the instance using the ports provided
- Parameters:
port - the http port to usesecurePort - the secure https port to use
stop
public void stop()
isRunning
public boolean isRunning()
Copyright © 2014. All rights reserved.