larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/internal/connection/Transmitter.java
public void prepareToConnect(Request request) {
    if (this.request != null) {
      if (sameConnection(this.request.url(), request.url()) && exchangeFinder.hasRouteToTry()) {
        return; // Already ready.
      }
      if (exchange != null) throw new IllegalStateException();

      if (exchangeFinder != null) {
        maybeReleaseConnection(null, true);
        exchangeFinder = null;
      }
    }

    this.request = request;
    this.exchangeFinder = new ExchangeFinder(this, connectionPool, createAddress(request.url()),
        call, eventListener);
  }
/**
   * Prepare to create a stream to carry {@code request}. This prefers to use the existing
   * connection if it exists.
   */
Prepare to create a stream to carry  request. This prefers to use the existing
connection if it exists.
Prepare to create a stream to carry request . This prefers to use the existing connection if it exists .
public void prepareToConnect(Request request) {
    if (this.request != null) {
      if (sameConnection(this.request.url(), request.url()) && exchangeFinder.hasRouteToTry()) {
        return; 
      }
      if (exchange != null) throw new IllegalStateException();
      if (exchangeFinder != null) {
        maybeReleaseConnection(null, true);
        exchangeFinder = null;
      }
    }
    this.request = request;
    this.exchangeFinder = new ExchangeFinder(this, connectionPool, createAddress(request.url()),
        call, eventListener);
  }
public void prepareToConnect ( Request request ) { if ( this . request != null ) { if ( sameConnection ( this . request . url ( ) , request . url ( ) ) && exchangeFinder . hasRouteToTry ( ) ) { return ; } if ( exchange != null ) throw new IllegalStateException ( ) ; if ( exchangeFinder != null ) { maybeReleaseConnection ( null , true ) ; exchangeFinder = null ; } } this . request = request ; this . exchangeFinder = new ExchangeFinder ( this , connectionPool , createAddress ( request . url ( ) ) , call , eventListener ) ; }
Prepare to create a stream to carry {@code request}.
Prepare to create a stream to carry { @code request } .
// Already ready.