use of io.servicetalk.transport.api.ConnectExecutionStrategy in project servicetalk by apple.
the class ConnectAndHttpExecutionStrategy method merge.
private ConnectAndHttpExecutionStrategy merge(final ConnectAndHttpExecutionStrategy other) {
ConnectExecutionStrategy mergedConnect = connectStrategy.merge(other);
HttpExecutionStrategy mergedHttp = httpStrategy.merge(other);
return mergedConnect == connectStrategy && mergedHttp == httpStrategy ? this : new ConnectAndHttpExecutionStrategy(mergedConnect, mergedHttp);
}
Aggregations