- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 593 for factory (0.05 seconds)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
for (i in trustedCertificates.indices) { trustStore.setCertificateEntry("cert_$i", trustedCertificates[i]) } val factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()) factory.init(trustStore) val result = factory.trustManagers!! check(result.size == 1 && result[0] is X509TrustManager) { "Unexpected trust managers: ${result.contentToString()}" }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (1) -
src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java
*/ public static DocumentBuilderFactory newInstance(final boolean external) { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); if (!external) { try { factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, ""); factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, ""); } catch (final Exception e) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Tables.java
} /** * Creates a table that uses the specified backing map and factory. It can generate a table based * on arbitrary {@link Map} classes. * * <p>The {@code factory}-generated and {@code backingMap} classes determine the table iteration * order. However, the table's {@code row()} method returns instances of a different class than * {@code factory.get()} does. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 24.9K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceException.java
} } /** * Static factory for file handle exhaustion */ public static SmbResourceException fileHandleExhausted(int errorCode) { return new SmbResourceException("File handle limit exceeded", errorCode, ResourceType.FILE_HANDLE); } /** * Static factory for connection pool exhaustion */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
* This is crucial for ensuring that tests are isolated from each other. */ private void resetHandlerState() throws Exception { // Reset the static factory field Field factoryField = Handler.class.getDeclaredField("factory"); factoryField.setAccessible(true); factoryField.set(null, null); // Clear the protocol handlers cacheCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
) } } return AndroidSocketAdapter(possibleClass!!) } fun factory(packageName: String): DeferredSocketAdapter.Factory = object : DeferredSocketAdapter.Factory { override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocket.javaClass.name.startsWith("$packageName.")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
import jakarta.annotation.PostConstruct; import jakarta.annotation.Resource; /** * A factory class for managing and creating crawler clients based on URL patterns. * This class implements AutoCloseable to properly handle resource cleanup. * * <p>The factory maintains a map of regular expression patterns to crawler clients,
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java
import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import jakarta.servlet.http.HttpServletRequest; /** * Factory class for managing and retrieving web API managers. * This factory maintains a collection of web API managers and provides * functionality to find the appropriate manager for incoming requests. */ public class WebApiManagerFactory {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ingest/Ingester.java
} /** * Registers this ingester with the ingest factory. * This makes the ingester available for processing documents. */ public void register() { getIngestFactory().add(this); } /** * Gets the ingest factory instance for managing ingesters. * * @return the ingest factory instance */ protected IngestFactory getIngestFactory() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.1K bytes - Click Count (0) -
CLAUDE.md
## Directory Structure ``` curl4j/ ├── src/ │ ├── main/java/org/codelibs/curl/ │ │ ├── Curl.java # Static entry point with factory methods │ │ ├── CurlRequest.java # Fluent request builder │ │ ├── CurlResponse.java # Response wrapper (implements Closeable) │ │ ├── CurlException.java # Unchecked exception for HTTP errors
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jan 08 07:28:24 GMT 2026 - 4.3K bytes - Click Count (0)