Lines Matching refs:ofString
200 BodySubscriber<String> ofString = BodySubscribers.ofString(UTF_8); in testExceptions() local
201 response.body().subscribe(ofString); in testExceptions()
203 BodySubscriber<String> ofString2 = BodySubscribers.ofString(UTF_8); in testExceptions()
217 String body = ofString.getBody().toCompletableFuture().get(); in testExceptions()
235 BodySubscriber<String> ofString = BodySubscribers.ofString(UTF_8); in testNoBody() local
238 response.body().subscribe(ofString); in testNoBody()
240 String body = ofString.getBody().toCompletableFuture().get(); in testNoBody()
257 BodySubscriber<String> ofString = BodySubscribers.ofString(UTF_8); in testNoBodyAsync() local
263 responsePublisher.body().subscribe(ofString); in testNoBodyAsync()
264 return ofString.getBody(); in testNoBodyAsync()
284 BodySubscriber<String> ofString = BodySubscribers.ofString(UTF_8); in testAsString() local
287 response.body().subscribe(ofString); in testAsString()
289 String body = ofString.getBody().toCompletableFuture().get(); in testAsString()
306 BodySubscriber<String> ofString = BodySubscribers.ofString(UTF_8); in testAsStringAsync() local
311 responsePublisher.body().subscribe(ofString); in testAsStringAsync()
312 return ofString.getBody(); in testAsStringAsync()