larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/HttpUrl.java
Builder reencodeForUri() {
      for (int i = 0, size = encodedPathSegments.size(); i < size; i++) {
        String pathSegment = encodedPathSegments.get(i);
        encodedPathSegments.set(i,
            canonicalize(pathSegment, PATH_SEGMENT_ENCODE_SET_URI, true, true, false, true));
      }
      if (encodedQueryNamesAndValues != null) {
        for (int i = 0, size = encodedQueryNamesAndValues.size(); i < size; i++) {
          String component = encodedQueryNamesAndValues.get(i);
          if (component != null) {
            encodedQueryNamesAndValues.set(i,
                canonicalize(component, QUERY_COMPONENT_ENCODE_SET_URI, true, true, true, true));
          }
        }
      }
      if (encodedFragment != null) {
        encodedFragment = canonicalize(
            encodedFragment, FRAGMENT_ENCODE_SET_URI, true, true, false, false);
      }
      return this;
    }
/**
     * Re-encodes the components of this URL so that it satisfies (obsolete) RFC 2396, which is
     * particularly strict for certain components.
     */
Re-encodes the components of this URL so that it satisfies (obsolete) RFC 2396, which is
particularly strict for certain components.
Re - encodes the components of this URL so that it satisfies ( obsolete ) RFC 2396 which is particularly strict for certain components .
Builder reencodeForUri() {
      for (int i = 0, size = encodedPathSegments.size(); i < size; i++) {
        String pathSegment = encodedPathSegments.get(i);
        encodedPathSegments.set(i,
            canonicalize(pathSegment, PATH_SEGMENT_ENCODE_SET_URI, true, true, false, true));
      }
      if (encodedQueryNamesAndValues != null) {
        for (int i = 0, size = encodedQueryNamesAndValues.size(); i < size; i++) {
          String component = encodedQueryNamesAndValues.get(i);
          if (component != null) {
            encodedQueryNamesAndValues.set(i,
                canonicalize(component, QUERY_COMPONENT_ENCODE_SET_URI, true, true, true, true));
          }
        }
      }
      if (encodedFragment != null) {
        encodedFragment = canonicalize(
            encodedFragment, FRAGMENT_ENCODE_SET_URI, true, true, false, false);
      }
      return this;
    }
Builder reencodeForUri ( ) { for ( int i = 0 , size = encodedPathSegments . size ( ) ; i < size ; i ++ ) { String pathSegment = encodedPathSegments . get ( i ) ; encodedPathSegments . set ( i , canonicalize ( pathSegment , PATH_SEGMENT_ENCODE_SET_URI , true , true , false , true ) ) ; } if ( encodedQueryNamesAndValues != null ) { for ( int i = 0 , size = encodedQueryNamesAndValues . size ( ) ; i < size ; i ++ ) { String component = encodedQueryNamesAndValues . get ( i ) ; if ( component != null ) { encodedQueryNamesAndValues . set ( i , canonicalize ( component , QUERY_COMPONENT_ENCODE_SET_URI , true , true , true , true ) ) ; } } } if ( encodedFragment != null ) { encodedFragment = canonicalize ( encodedFragment , FRAGMENT_ENCODE_SET_URI , true , true , false , false ) ; } return this ; }
Re-encodes the components of this URL so that it satisfies (obsolete) RFC 2396, which is
 particularly strict for certain components.
Re - encodes the components of this URL so that it satisfies ( obsolete ) RFC 2396 which is particularly strict for certain components .