Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for wasn (0.18 sec)

  1. docs/changelogs/changelog_4x.md

        Android, including Android 6. We were using a feature of `SimpleDateFormat` that wasn't
        available in those versions!
    
    
    ## Version 4.8.0
    
    _2020-07-11_
    
     *  New: Change `HeldCertificate.Builder` to use its own ASN.1 certificate encoder. This is part
        of our effort to remove the okhttp-tls module's dependency on Bouncy Castle. We think Bouncy
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        stackTrace: Any?,
      ) {
        var logMessage = message
        if (stackTrace == null) {
          logMessage += " To see where this was allocated, set the OkHttpClient logger level to " +
            "FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);"
        }
        log(logMessage, WARN, stackTrace as Throwable?)
      }
    
      open fun buildCertificateChainCleaner(trustManager: X509TrustManager): CertificateChainCleaner =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  3. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

    import okhttp3.CookieJar
    import okhttp3.HttpUrl
    import okhttp3.internal.cookieToString
    import okhttp3.internal.delimiterOffset
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.platform.Platform.Companion.WARN
    import okhttp3.internal.trimSubstring
    
    /** A cookie jar that delegates to a [java.net.CookieHandler]. */
    class JavaNetCookieJar(private val cookieHandler: CookieHandler) : CookieJar {
      override fun saveFromResponse(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

              }
            }
          } else if (!isMultiplexed || e is ConnectionShutdownException) {
            noNewExchangesEvent = !noNewExchanges
            noNewExchanges = true
    
            // If this route hasn't completed a call, avoid it for new connections.
            if (successCount == 0) {
              if (e != null) {
                connectFailed(call.client, route, e)
              }
              routeFailureCount++
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added with a wildcard that is not in leftmost position! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
        check(rule.indexOf(WILDCARD_CHAR, 1) == -1) {
          """Wildcard Assertion Failure: '$rule'
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

    import java.net.URL
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    
    @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://.
    open class HttpUrlJvmTest {
      val platform = PlatformRule()
    
      /** This one's ugly: the HttpUrl's host is non-empty, but the URI's host is null. */
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        expectedEvents += "ConnectionReleased"
        expectedEvents += "CallEnd"
        assertThat(listener.recordedEventTypes()).isEqualTo(expectedEvents)
    
        // Confirm that the connection pool was not corrupted by making another call.
        makeSimpleCall()
      }
    
      /**
       * If the server returns a full response, it doesn't really matter if the HTTP/2 stream is reset.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/ObjectIdentifiers.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    /** ASN.1 object identifiers used internally by this implementation. */
    internal object ObjectIdentifiers {
      const val EC_PUBLIC_KEY = "1.2.840.10045.2.1"
      const val SHA256_WITH_ECDSA = "1.2.840.10045.4.3.2"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     */
    class SimpleIdnaMappingTable internal constructor(
      internal val mappings: List<Mapping>,
    ) {
      /**
       * Returns true if the [codePoint] was applied successfully. Returns false if it was disallowed.
       */
      fun map(
        codePoint: Int,
        sink: BufferedSink,
      ): Boolean {
        val index =
          mappings.binarySearch {
            when {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          }
        }
      }
    
      private fun readAndWriteFrames() {
        check(socket == null)
        val socket = serverSocket!!.accept()!!
        this.socket = socket
    
        // Bail out now if this instance was closed while waiting for the socket to accept.
        synchronized(this) {
          if (executor.isShutdown) {
            socket.close()
            return
          }
        }
        val outputStream = socket.getOutputStream()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top