Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 699 for printnl (0.29 sec)

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

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PreemptiveAuth().run();
      }
    
      static final class BasicAuthInterceptor implements Interceptor {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Nov 05 07:46:46 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  2. docs_src/custom_request_and_route/tutorial003_py39.py

                duration = time.time() - before
                response.headers["X-Response-Time"] = str(duration)
                print(f"route duration: {duration}")
                print(f"route response: {response}")
                print(f"route response headers: {response.headers}")
                return response
    
            return custom_route_handler
    
    
    app = FastAPI()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1K bytes
    - Viewed (0)
  3. CLAUDE.md

    int count = ds.getCount(sessionId);
    
    // Get by URL
    AccessResult result = ds.getAccessResult(sessionId, url);
    
    // Iterate all
    ds.iterate(sessionId, accessResult -> {
        System.out.println(accessResult.getUrl());
        System.out.println(accessResult.getContent());
    });
    
    // Cleanup
    ds.delete(sessionId);
    ```
    
    ### Resource Cleanup Pattern
    
    ```java
    // Always use try-with-resources for ResponseData
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

        public void log(Level level, String message, Throwable error) {
            requireNonNull(level, "level");
            requireNonNull(message, "message");
            if (level.ordinal() >= threshold.ordinal()) {
                out.println("[" + level.name() + "] " + message);
                if (error != null) {
                    error.printStackTrace(out);
                }
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

          sessionFactory.start();
        }
    
        HttpUrl authorizeUrl = sessionFactory.newAuthorizeUrl(scopes, team, session -> {
          initOauthSession(session);
          System.out.printf("session granted: %s\n", session);
        });
    
        System.out.printf("open this URL in a browser: %s\n", authorizeUrl);
      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            if (dst.length - dstIndex < pipeDataLen) {
                if (LogStream.level >= 3) {
                    log.println("TransTransactNamedPipe data too long for buffer");
                }
                return 0;
            }
            System.arraycopy(pipeData, pipeDataOff, dst, dstIndex, pipeDataLen);
            return pipeDataLen;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java

            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            if (dst.length - dstIndex < pipeDataLen) {
                if (LogStream.level >= 3) {
                    log.println("TransCallNamedPipe data too long for buffer");
                }
                return 0;
            }
            System.arraycopy(pipeData, pipeDataOff, dst, dstIndex, pipeDataLen);
            return pipeDataLen;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. docs/auditlog/auditlog-echo.md

    2. Configure audit logging in MinIO with for example:
    
    ```
    mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
    ```
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 447 bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt

        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) {
            System.err.println("Flaky TLSv1.3 with google")
    //    assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
          }
        }
      }
    
      @Test
      fun testIfSupported() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

         */
        protected ThreadDumpUtil() {
            // noop
        }
    
        /**
         * Prints thread dump information to the logger at INFO level.
         */
        public static void printThreadDump() {
            processThreadDump(logger::info);
        }
    
        /**
         * Prints thread dump information to the logger at WARN level.
         */
        public static void printThreadDumpAsWarn() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top