Search in sources :

Example 1 with BlockingStreamingHttpRequester

use of io.servicetalk.http.api.BlockingStreamingHttpRequester in project servicetalk by apple.

the class DefaultMultiAddressUrlHttpClientBuilderTest method buildBlockingWithDefaults.

@Test
void buildBlockingWithDefaults() throws Exception {
    BlockingStreamingHttpRequester newBlockingRequester = HttpClients.forMultiAddressUrl().ioExecutor(CTX.ioExecutor()).executor(CTX.executor()).buildBlockingStreaming();
    assertNotNull(newBlockingRequester);
    newBlockingRequester.close();
}
Also used : BlockingStreamingHttpRequester(io.servicetalk.http.api.BlockingStreamingHttpRequester) Test(org.junit.jupiter.api.Test)

Aggregations

BlockingStreamingHttpRequester (io.servicetalk.http.api.BlockingStreamingHttpRequester)1 Test (org.junit.jupiter.api.Test)1