Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 842 for handler2 (0.22 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt

            }
        }
    
      fun enable(
        loggerClass: String,
        handler: Handler = logHandler(),
      ): Closeable {
        val logger = Logger.getLogger(loggerClass)
        if (configuredLoggers.add(logger)) {
          logger.addHandler(handler)
          logger.level = Level.FINEST
        }
        return Closeable {
          logger.removeHandler(handler)
        }
      }
    
      fun enable(loggerClass: KClass<*>) = enable(loggerClass.java.name)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

     * backing store (e.g. file system, database, memory).
     * <p>
     * This is mainly used to parse files into objects such as Maven projects,
     * models, settings, or toolchains. The source implementation handles
     * all the details of accessing the underlying content while providing
     * a uniform API to consumers.
     * <p>
     * Sources can represent:
     * <ul>
     *   <li>Local filesystem files</li>
     *   <li>In-memory content</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.io.File;
    import java.util.Collection;
    import java.util.List;
    import java.util.regex.Pattern;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                try {
                    digest.sign(data, 0, data.length, request, response);
                    // If no exception is thrown, the operation should have been no-op or handled gracefully
                    assertTrue(true, "Sign operation after close should either throw exception or handle gracefully");
                } catch (RuntimeException e) {
                    // Accept runtime exceptions that might be thrown due to closed state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

      private TestLogHandler handler;
      private final TearDownStack stack = new TearDownStack();
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        handler = new TestLogHandler();
    
        // You could also apply it higher up the Logger hierarchy than this
        ExampleClassUnderTest.logger.addHandler(handler);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *     SomeClass.logger.addHandler(handler);
     *     addTearDown(new TearDown() {
     *       public void tearDown() throws Exception {
     *         SomeClass.logger.removeHandler(handler);
     *       }
     *     });
     *   }
     *
     *   public void test() {
     *     SomeClass.foo();
     *     LogRecord firstRecord = handler.getStoredLogRecords().get(0);
     *     assertEquals("some message", firstRecord.getMessage());
     *   }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        }
    
        @Test
        @DisplayName("close(): clears cache and closes handle; does not close shared SmbFile")
        void close_sharedFile_closesHandle_only() throws Exception {
            SmbRandomAccessFile raf = newInstance("rw", false, true, false);
            SmbFile file = (SmbFile) getField(raf, "file");
            SmbFileHandleImpl handle = (SmbFileHandleImpl) getField(raf, "handle");
    
            // Act
            raf.close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

         */
        public CrawlingInfoService() {
        }
    
        /**
         * Behavior handler for CrawlingInfoParam entities.
         * Used to perform database operations on crawling session parameters.
         */
        @Resource
        protected CrawlingInfoParamBhv crawlingInfoParamBhv;
    
        /**
         * Behavior handler for CrawlingInfo entities.
         * Used to perform database operations on crawling session information.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

     * This handler automatically registers itself for origins configured in the system
     * and applies standard CORS headers based on the application configuration.
     */
    public class DefaultCorsHandler extends CorsHandler {
    
        /**
         * Creates a new instance of DefaultCorsHandler.
         * This constructor initializes the default CORS handler for applying
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         *
         * @return whether to use durable handles for improved reliability
         */
        boolean isUseDurableHandles();
    
        /**
         * Property {@code jcifs.smb.client.usePersistentHandles}, defaults to false
         *
         * @return whether to use persistent handles for maximum reliability
         */
        boolean isUsePersistentHandles();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top