Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 235 for Chalin (0.17 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

        @Override public Response intercept(Chain chain) throws IOException {
          long t1 = System.nanoTime();
          Request request = chain.request();
          logger.info(String.format("Sending request %s on %s%n%s",
              request.url(), chain.connection(), request.headers()));
          Response response = chain.proceed(request);
    
          long t2 = System.nanoTime();
    Java
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Fri Jan 01 15:55:32 GMT 2016
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

         *     chain.proceed(chain.request())
         * }
         * ```
         */
        inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }
      }
    
      interface Chain {
        fun request(): Request
    
        @Throws(IOException::class)
        fun proceed(request: Request): Response
    
        /**
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ComparisonChain.java

       * already been determined.
       */
      public abstract <T extends @Nullable Object> ComparisonChain compare(
          @ParametricNullness T left, @ParametricNullness T right, Comparator<T> comparator);
    
      /**
       * Compares two {@code int} values as specified by {@link Ints#compare}, <i>if</i> the result of
       * this comparison chain has not already been determined.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/QueryProcessor.java

            FilterChain chain = createDefaultFilterChain();
            for (final Filter element : filterList) {
                chain = appendFilterChain(element, chain);
            }
            filterChain = chain;
        }
    
        protected FilterChain appendFilterChain(final Filter filter, final FilterChain chain) {
            return (context, query, boost) -> filter.execute(context, query, boost, chain);
        }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. okhttp-tls/README.md

    OdHOim9+
    -----END PRIVATE KEY-----
    ```
    
    Recommendations
    ---------------
    
    Typically servers need a held certificate plus a chain of intermediates. Servers only need the
    private key for their own certificate. The chain served by a server doesn't need the root
    certificate.
    
    The trusted roots don't need to be the same for client and server when using client authentication.
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
  6. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

        @Override public Response intercept(Chain chain) throws IOException {
          for (Certificate certificate : chain.connection().handshake().peerCertificates()) {
            String pin = CertificatePinner.pin(certificate);
            if (denylist.contains(pin)) {
              throw new IOException("Denylisted peer certificate: " + pin);
            }
          }
          return chain.proceed(chain.request());
        }
      };
    
    Java
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

      /**
       * Returns a cleaned chain for [chain].
       *
       * This method throws if the complete chain to a trusted CA certificate cannot be constructed.
       * This is unexpected unless the trust root index in this class has a different trust manager than
       * what was used to establish [chain].
       */
      @Throws(SSLPeerUnverifiedException::class)
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

     * response.
     */
    class BridgeInterceptor(private val cookieJar: CookieJar) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val userRequest = chain.request()
        val requestBuilder = userRequest.newBuilder()
    
        val body = userRequest.body
        if (body != null) {
          val contentType = body.contentType()
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (2)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

    import java.io.IOException
    import okhttp3.Interceptor.Chain
    import okio.Buffer
    import okio.BufferedSource
    import okio.ForwardingSource
    import okio.buffer
    
    /** Rewrites the response body returned from the server to be all uppercase.  */
    class UppercaseResponseInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Chain): Response {
        return uppercaseResponse(chain.proceed(chain.request()))
      }
    
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

        }
    
        public User load(final User user) {
            User u = user;
            for (final AuthenticationChain chain : chains) {
                u = chain.load(u);
            }
            return u;
        }
    
        public void addChain(final AuthenticationChain chain) {
            chains = ArrayUtils.addAll(chains, chain);
        }
    
        protected StreamOf<AuthenticationChain> chains() {
            return stream(chains);
        }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top