public class TestApplicationCall
Represents a test application call that is used in TestEngineKt.withTestApplication and TestEngineKt.handleRequest
| Constructor and Description |
|---|
TestApplicationCall(io.ktor.application.Application application,
boolean readResponse,
NonExistentClass coroutineContext)
Represents a test application call that is used in
TestEngineKt.withTestApplication and TestEngineKt.handleRequest |
| Modifier and Type | Method and Description |
|---|---|
NonExistentClass |
getCoroutineContext() |
TestApplicationRequest |
getRequest() |
boolean |
getRequestHandled()
Set to
true when the request has been handled and a response has been produced |
TestApplicationResponse |
getResponse() |
void |
setRequestHandled$module(boolean p)
Set to
true when the request has been handled and a response has been produced |
java.lang.String |
toString() |
public TestApplicationCall(io.ktor.application.Application application,
boolean readResponse,
NonExistentClass coroutineContext)
Represents a test application call that is used in TestEngineKt.withTestApplication and TestEngineKt.handleRequest
public boolean getRequestHandled()
Set to true when the request has been handled and a response has been produced
public void setRequestHandled$module(boolean p)
Set to true when the request has been handled and a response has been produced
public TestApplicationRequest getRequest()
public TestApplicationResponse getResponse()
public java.lang.String toString()
public NonExistentClass getCoroutineContext()