Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for chooseCharset (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import java.io.FileDescriptor
    import java.io.FileInputStream
    import java.io.IOException
    import okhttp3.internal.chooseCharset
    import okhttp3.internal.commonContentLength
    import okhttp3.internal.commonIsDuplex
    import okhttp3.internal.commonIsOneShot
    import okhttp3.internal.commonToRequestBody
    import okio.BufferedSink
    import okio.ByteString
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

    import java.io.IOException
    import java.io.InputStream
    import java.io.InputStreamReader
    import java.io.Reader
    import java.nio.charset.Charset
    import okhttp3.internal.charsetOrUtf8
    import okhttp3.internal.chooseCharset
    import okhttp3.internal.commonAsResponseBody
    import okhttp3.internal.commonByteString
    import okhttp3.internal.commonBytes
    import okhttp3.internal.commonClose
    import okhttp3.internal.commonToResponseBody
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

        cipherSuitesAsString.intersect(socketEnabledCipherSuites, CipherSuite.ORDER_BY_NAME)
      } else {
        socketEnabledCipherSuites
      }
    }
    
    internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> {
      var charset: Charset = Charsets.UTF_8
      var finalContentType: MediaType? = this
      if (this != null) {
        val resolvedCharset = this.charset()
        if (resolvedCharset == null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top