Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for folder (0.17 sec)

  1. deploy_website.sh

    DIR=temp-clone
    
    # Delete any existing temporary website clone
    rm -rf $DIR
    
    # Clone the current repo into temp folder
    git clone $REPO $DIR
    # Replace `git clone` with these lines to hack on the website locally
    # cp -a . "../okhttp-website"
    # mv "../okhttp-website" "$DIR"
    
    # Move working directory into temp folder
    cd $DIR
    
    # Generate the API docs
    ./gradlew dokkaHtmlMultiModule
    
    mv ./build/dokka/htmlMultiModule docs/5.x
    
    Shell Script
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

          } catch (ignored: IOException) {
            // Skip this path.
          }
        }
        return result.toTypedArray<String>()
      }
    
      /**
       * Reads stories named "story_xx.json" from the folder provided.
       */
      fun readStories(testFolderName: String): List<Story> {
        val result = mutableListOf<Story>()
        var i = 0
        while (true) { // break after last test.
          val storyResourceName =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

            "seqno=$testCase.seqno",
            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
        }
      }
    
      companion object {
        /**
         * Reads all stories in the folders provided, asserts if no story found.
         */
        @JvmStatic
        protected fun createStories(interopTests: Array<String>): List<Any> {
          if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

    import java.security.cert.Certificate;
    import java.security.cert.X509Certificate;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    /**
     * Simple test adaptable to show a failure in older versions of OkHttp
     * or Android SDKs.
     */
    @RunWith(AndroidJUnit4.class)
    public class IssueReproductionTest {
      @Test public void getFailsWithoutAdditionalCert() throws IOException {
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jul 26 06:37:08 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  5. android-test-app/src/main/AndroidManifest.xml

        android:name=".TestApplication"
      >
        <activity
          android:name=".MainActivity"
          android:exported="true">
          <intent-filter>
            <action android:name="android.intent.action.MAIN" />
    
            <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter>
        </activity>
      </application>
    
    XML
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 683 bytes
    - Viewed (0)
  6. mockwebserver/README.md

    Dispatcher (`import okhttp3.mockwebserver.Dispatcher`) to handle requests using another policy. One natural policy is to
    dispatch on the request path.
    You can, for example, filter the request instead of using `server.enqueue()`.
    
    ```java
    final Dispatcher dispatcher = new Dispatcher() {
    
        @Override
        public MockResponse dispatch (RecordedRequest request) throws InterruptedException {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        fun get(): Platform = platform
    
        fun resetForTests(platform: Platform = findPlatform()) {
          this.platform = platform
        }
    
        fun alpnProtocolNames(protocols: List<Protocol>) = protocols.filter { it != Protocol.HTTP_1_0 }.map { it.toString() }
    
        // This explicit check avoids activating in Android Studio with Android specific classes
        // available when running plugins inside the IDE.
        val isAndroid: Boolean
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  8. docs/changelogs/changelog_4x.md

     *  Upgrade: Build with Conscrypt 2.5.1.
    
    
    ## Version 4.8.1
    
    _2020-08-06_
    
     *  Fix: Don't crash in `HeldCertificate.Builder` when creating certificates on older versions of
        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_
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/TestTls13Request.kt

        CipherSuite.TLS_AES_128_CCM_SHA256,
        CipherSuite.TLS_AES_128_CCM_8_SHA256,
      )
    
    /**
     * A TLS 1.3 only Connection Spec. This will be eventually be exposed
     * as part of MODERN_TLS or folded into the default OkHttp client once published and
     * available in JDK11 or Conscrypt.
     */
    private val TLS_13 =
      ConnectionSpec.Builder(true)
        .cipherSuites(*TLS13_CIPHER_SUITES.toTypedArray())
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. docs/assets/css/app.css

        line-height: normal;
        font-weight: bold;
    }
    
    button.dl {
      font-weight: 300;
      font-size: 25px;
      line-height: 40px;
      padding: 3px 10px;
      display: inline-block;
      border-radius: 6px;
      color: #f0f0f0;
      margin: 5px 0;
      width: auto;
    }
    
    .logo {
      text-align: center;
      margin-top: 150px;
    CSS
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 08 07:57:03 GMT 2022
    - 1.1K bytes
    - Viewed (4)
Back to top