Search in sources :

Example 1 with ConnectExecutionStrategy

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);
}
Also used : ConnectExecutionStrategy(io.servicetalk.transport.api.ConnectExecutionStrategy)

Aggregations

ConnectExecutionStrategy (io.servicetalk.transport.api.ConnectExecutionStrategy)1