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.
|
Constructor Summary |
MockServer(Integer port)
Start the instance using the ports provided |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_FILTER
public static final io.netty.util.AttributeKey<LogFilter> LOG_FILTER
MockServer
public MockServer(Integer port)
- Start the instance using the ports provided
- Parameters:
port - the http port to use
stop
public void stop()
isRunning
public boolean isRunning()
getPort
public Integer getPort()
Copyright © 2015. All rights reserved.