- enqueue
Scripts response to be returned to a request made in sequence. The first request
is served by the fi
- url
Returns a URL for connecting to this server.
- <init>
- start
Starts the server and binds to the given socket address.
- takeRequest
Awaits the next HTTP request (waiting up to the specified wait time if
necessary), removes it, and r
- shutdown
- setDispatcher
Sets the dispatcher used to match incoming requests to mock responses. The
default dispatcher simply
- getPort
- getRequestCount
Returns the number of HTTP requests received thus far by this server. This may
exceed the number of
- getHostName
- close
- useHttps
Serve requests with HTTPS rather than otherwise.