- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 294 for factory (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
.connectionSpecs(Collections.singletonList(spec)) .sslSocketFactory(customSslSocketFactory, trustManager) .build(); } /** * Returns the VM's default SSL socket factory, using {@code trustManager} for trusted root * certificates. */ private SSLSocketFactory defaultSslSocketFactory(X509TrustManager trustManager) throws NoSuchAlgorithmException, KeyManagementException {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Mar 14 21:57:42 GMT 2019 - 6.5K bytes - Click Count (0) -
docs/changelogs/upgrading_to_okhttp_4.md
}) .build() ``` SAM conversion impacts these APIs: * Authenticator * Dispatcher.setIdleCallback(Runnable) * Dns * EventListener.Factory * HttpLoggingInterceptor.Logger * LoggingEventListener.Factory * OkHttpClient.Builder.hostnameVerifier(HostnameVerifier) JetBrains [is working on][kotlin_sams] SAM conversions of Kotlin interfaces. Expect it in a futureCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
module-tests/src/main/java/okhttp3/modules/OkHttpCaller.java
*/ public class OkHttpCaller { public static Call callOkHttp(HttpUrl url) { OkHttpClient client = new OkHttpClient .Builder() .eventListenerFactory(new LoggingEventListener.Factory(HttpLoggingInterceptor.Logger.DEFAULT)) .build(); return client.newCall(new Request.Builder().url(url).build()); }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsuleFactory.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.cling.invoker; import org.apache.maven.api.annotations.Nonnull; /** * Container capsule factory. * * @param <C> The context type. */ public interface ContainerCapsuleFactory<C extends LookupContext> { /** * Creates container capsule. */ @Nonnull
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 13 12:50:59 GMT 2025 - 1.2K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ModelCacheFactory.java
* under the License. */ package org.apache.maven.repository.internal; import org.apache.maven.model.building.ModelCache; import org.eclipse.aether.RepositorySystemSession; /** * Factory for {@link ModelCache} objects. * * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Deprecated(since = "4.0.0") public interface ModelCacheFactory {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; /** * Exception thrown when toolchain factory operations fail. * * <p>This exception wraps errors that occur during toolchain creation or initialization.</p> */ public class ToolchainFactoryException extends MavenException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
Invokable<?, ?> factory = Invokable.from(constructor); assertThat(factory.getTypeParameters()).hasLength(2); assertEquals(type.getTypeParameters()[0], factory.getTypeParameters()[0]); assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]); ParameterizedType returnType = (ParameterizedType) factory.getReturnType().getType();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 30.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCacheFactory.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.cache; import org.apache.maven.api.annotations.Experimental; /** * Factory interface for creating new RequestCache instances. * Implementations should handle the creation and configuration of cache instances * based on the current Maven session and environment. * * @since 4.0.0
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 1.4K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt
/** * Immediately and violently release resources held by this event source. This does nothing if * the event source has already been closed or canceled. */ fun cancel() fun interface Factory { /** * Creates a new event source and immediately returns it. Creating an event source initiates an * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 1.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolverFactory.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.legacy.resolver.conflict; /** * A factory that produces conflict resolvers of various types. * * @see ConflictResolver * @since 3.0 */ @Deprecated public interface ConflictResolverFactory {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0)