public class SimpleHttpServer extends Object
| Modifier and Type | Method and Description |
|---|---|
static SimpleHttpServer |
createServer(int port) |
HttpMessage |
getLastHttpRequest() |
SimpleHttpServer |
start()
Starts the http server.
|
void |
stop()
Stops the http server.
|
public HttpMessage getLastHttpRequest()
public static SimpleHttpServer createServer(int port)
port - port to listen for http requests.SimpleHttpServer created to listen in the port portpublic SimpleHttpServer start()
thispublic void stop()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.