public interface ServerUnderTest extends ApplicationContextProvider, Closeable, AutoCloseable
Modifier and Type | Method and Description |
---|---|
default <I,O> HttpResponse<O> |
exchange(HttpRequest<I> request) |
<I,O> HttpResponse<O> |
exchange(HttpRequest<I> request,
Argument<O> bodyType) |
default <I,O> HttpResponse<O> |
exchange(HttpRequest<I> request,
Class<O> bodyType) |
default Optional<Integer> |
getPort() |
getApplicationContext
default <I,O> HttpResponse<O> exchange(HttpRequest<I> request)
default <I,O> HttpResponse<O> exchange(HttpRequest<I> request, Class<O> bodyType)
<I,O> HttpResponse<O> exchange(HttpRequest<I> request, Argument<O> bodyType)