StubbedHttpServer

org.encalmo.lambda.StubbedHttpServer

Simple http server for testing with stubbed http responses.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def close(): Unit
def stubResponseAlways(requestMethod: String, requestPath: String, responseStatus: Int, responseHeaders: Map[String, String], responseBody: String): HttpContext
def stubResponseOnce(requestMethod: String, requestPath: String, responseStatus: Int, responseHeaders: Map[String, String], responseBody: String): HttpContext

Concrete fields

val uri: URI