| Package | Description |
|---|---|
| com.atlassian.utt.http |
| Modifier and Type | Method and Description |
|---|---|
static TestHttpServer |
TestHttpServer.create(int port)
Creates a new test server instance.
|
TestHttpServer |
TestHttpServer.respondIf(org.hamcrest.Matcher<TestHttpServer.RequestProperties> pattern,
TestHttpServer.ResponseProperties r)
Configures the embedded server to send a specific response whenever it receives a
request that meets certain conditions.
|
| Modifier and Type | Method and Description |
|---|---|
static NamedFunction<TestHttpServer,Iterable<? extends TestHttpServer.RequestProperties>> |
TestHttpServer.requests()
Use this to construct a Hamcrest matcher for the list of all requests that the
test server has received.
|
Copyright © 2017 Atlassian. All rights reserved.