Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Access (0.14 sec)

  1. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

          builder.addQueryParameter("team", team);
        }
    
        return builder.build();
      }
    
      /** See https://api.slack.com/methods/oauth.access. */
      public OAuthSession exchangeCode(String code, HttpUrl redirectUrl) throws IOException {
        HttpUrl url = baseUrl.newBuilder("oauth.access")
            .addQueryParameter("client_id", clientId)
            .addQueryParameter("client_secret", clientSecret)
            .addQueryParameter("code", code)
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

      /** The maximum size of [buffer]. */
      val bufferMaxSize: Long,
    ) {
      /** The thread that currently has access to upstream. Possibly null. Guarded by this. */
      var upstreamReader: Thread? = null
    
      /**
       * A buffer for [upstreamReader] to use when pulling bytes from upstream. Only the
       * [upstreamReader] thread may access this buffer.
       */
      val upstreamBuffer = Buffer()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

    import okhttp3.internal.tls.CertificateChainCleaner
    import okhttp3.internal.tls.TrustRootIndex
    import okio.Buffer
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * Access to platform-specific features.
     *
     * ### Session Tickets
     *
     * Supported on Android 2.3+.
     * Supported on JDK 8+ via Conscrypt.
     *
     * ### ALPN (Application Layer Protocol Negotiation)
     *
    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)
  4. samples/slack/src/main/java/okhttp3/slack/OAuthSession.java

      public final boolean ok;
      public final String access_token;
      public final String scope;
      public final String user_id;
      public final String team_name;
      public final String team_id;
    
      public OAuthSession(
          boolean ok, String accessToken, String scope, String userId, String teamName, String teamId) {
        this.ok = ok;
        this.access_token = accessToken;
        this.scope = scope;
        this.user_id = userId;
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Oct 23 15:24:22 GMT 2016
    - 1.4K bytes
    - Viewed (0)
  5. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

    @AutomaticFeature
    class TestRegistration : Feature {
      override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess) {
        // Presumably needed for parsing the testlist.txt file.
        RuntimeClassInitialization.initializeAtBuildTime(access.findClassByName("kotlin.text.Charsets"))
    
        registerKnownTests(access)
    
        registerJupiterClasses(access)
    
        registerParamProvider(access, "okhttp3.SampleTestProvider")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. regression-test/src/main/AndroidManifest.xml

        package="okhttp.android.regression">
      <uses-permission android:name="android.permission.INTERNET" />
    
      <!-- For HttpEngine -->
      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    XML
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Mar 23 11:14:34 GMT 2024
    - 291 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/graal/OkHttpFeature.kt

    /**
     * Automatic configuration of OkHttp for native images.
     *
     * Currently, includes all necessary resources.
     */
    class OkHttpFeature : Feature {
      @IgnoreJRERequirement
      override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess?) {
        RuntimeResourceAccess.addResource(
          ClassLoader.getSystemClassLoader().getUnnamedModule(),
          "okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz",
        )
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RequestTest.kt

        assertThat(request.tag(Any::class.java)).isNull()
        assertThat(request.tag(UUID::class.java)).isNull()
        assertThat(request.tag(String::class.java)).isNull()
    
        // Alternate access APIs also work.
        assertThat(request.tag<String>()).isNull()
        assertThat(request.tag(String::class)).isNull()
      }
    
      @Test
      fun defaultTag() {
        val tag = UUID.randomUUID()
        val request =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Callback.kt

       * response body is [closed][ResponseBody]. The recipient of the callback may consume the response
       * body on another thread.
       *
       * Note that transport-layer success (receiving a HTTP response code, headers and body) does not
       * necessarily indicate application-layer success: `response` may still indicate an unhappy HTTP
       * response code like 404 or 500.
       */
      @Throws(IOException::class)
      fun onResponse(
        call: Call,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        fun executeOn(executorService: ExecutorService) {
          client.dispatcher.assertThreadDoesntHoldLock()
    
          var success = false
          try {
            executorService.execute(this)
            success = true
          } catch (e: RejectedExecutionException) {
            failRejected(e)
          } finally {
            if (!success) {
              client.dispatcher.finished(this) // This call is no longer running!
            }
          }
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
Back to top