public class OutgoingCallsGatheringClient extends Object implements IncomingRequestAwareClient
Client
that gethers call info to an OutgoingCallsGatherer
Constructor and Description |
---|
OutgoingCallsGatheringClient(OutgoingCallsGatherer callsGatherer,
IncomingRequestAwareClient delegate) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Response<okio.ByteString>> |
send(Request request,
Optional<Request> incoming)
Send a Request with an optional originating Request and get an asynchronous Response as a
CompletionStage.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asUnawareClient, wrapRequest
public OutgoingCallsGatheringClient(OutgoingCallsGatherer callsGatherer, IncomingRequestAwareClient delegate)
public CompletionStage<Response<okio.ByteString>> send(Request request, Optional<Request> incoming)
IncomingRequestAwareClient
send
in interface IncomingRequestAwareClient
request
- the request to sendincoming
- optional originating request that created this requestResponse
,
or completes exceptionally if there is a failure sending the request.
An error status code returned by the service is a normal completion.Copyright © 2016. All rights reserved.