Helidon's WebClientRequestBuilder
has two similar APIs: request()
and submit()
. Both APIs return Single<WebClientResponse>
.
request()
's Javadoc says...
Performs prepared request without expecting to receive any specific type. Response is not converted and returned CompletionStage is notified.
submit()
's Javadoc says...
Performs prepared request. When response is received, it is not converted to any other specific type and returned CompletionStage is notified.
What is the difference between the two APIs? Is it simply that request()
adds a wildcard Accept
header and submit()
does not?