- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for setDispatcher (0.08 sec)
-
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
this.slackApi = slackApi; } public void start() throws Exception { if (mockWebServer != null) throw new IllegalStateException(); mockWebServer = new MockWebServer(); mockWebServer.setDispatcher(this); mockWebServer.start(slackApi.port); } public HttpUrl newAuthorizeUrl(String scopes, String team, Listener listener) { if (mockWebServer == null) throw new IllegalStateException();
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (1) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
this.root = root; this.port = port; } public void run() throws IOException { MockWebServer server = new MockWebServer(); server.useHttps(sslContext.getSocketFactory(), false); server.setDispatcher(this); server.start(port); } @Override public MockResponse dispatch(RecordedRequest request) { String path = request.getPath(); try {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
mockwebserver-deprecated/api/mockwebserver.api
public final fun noClientAuth ()V public final fun protocols ()Ljava/util/List; public final fun requestClientAuth ()V public final fun requireClientAuth ()V public final fun setBodyLimit (J)V public final fun setDispatcher (Lokhttp3/mockwebserver/Dispatcher;)V public final fun setProtocolNegotiationEnabled (Z)V public final fun setProtocols (Ljava/util/List;)V public final fun setServerSocketFactory (Ljavax/net/ServerSocketFactory;)V
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 10.2K bytes - Viewed (0) -
mockwebserver/README.md
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 8.1K bytes - Viewed (0) -
mockwebserver/api/mockwebserver3.api
public final fun getStarted ()Z public final fun noClientAuth ()V public final fun requestClientAuth ()V public final fun requireClientAuth ()V public final fun setBodyLimit (J)V public final fun setDispatcher (Lmockwebserver3/Dispatcher;)V public final fun setProtocolNegotiationEnabled (Z)V public final fun setProtocols (Ljava/util/List;)V public final fun setServerSocketFactory (Ljavax/net/ServerSocketFactory;)V
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
* served by the first enqueued response; the second request by the second enqueued response; and * so on. * * @throws ClassCastException if the default dispatcher has been * replaced with [setDispatcher][dispatcher]. */ public fun enqueue(response: MockResponse) { (dispatcher as QueueDispatcher).enqueue(response) } /** * Starts the server on the loopback interface for the given port.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
import org.apache.maven.cling.invoker.mvnenc.EncryptContext; import org.codehaus.plexus.components.secdispatcher.DispatcherMeta; import org.codehaus.plexus.components.secdispatcher.SecDispatcher; import org.codehaus.plexus.components.secdispatcher.model.Config; import org.codehaus.plexus.components.secdispatcher.model.ConfigProperty; import org.codehaus.plexus.components.secdispatcher.model.SettingsSecurity; import org.jline.consoleui.elements.ConfirmChoice;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 12K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java
@Inject public Decrypt(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) { super(messageBuilderFactory, secDispatcher); } @Override protected int doExecute(EncryptContext context) throws Exception { String encrypted = context.reader.readLine("Enter the password to decrypt: "); if (secDispatcher.isAnyEncryptedString(encrypted)) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 17 09:50:45 UTC 2024 - 2.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/InteractiveGoalSupport.java
import org.codehaus.plexus.components.secdispatcher.SecDispatcher; /** * The support class for interactive goal implementations. */ public abstract class InteractiveGoalSupport extends GoalSupport { protected InteractiveGoalSupport(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) { super(messageBuilderFactory, secDispatcher); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 11 09:13:06 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/MavenSecDispatcher.java
import java.util.Map; import org.apache.maven.api.Constants; import org.codehaus.plexus.components.secdispatcher.Dispatcher; import org.codehaus.plexus.components.secdispatcher.SecDispatcher; import org.codehaus.plexus.components.secdispatcher.internal.DefaultSecDispatcher; /** * This class implements "Maven specific" {@link SecDispatcher}. * * @deprecated since 4.0.0 */ @Named @Singleton @Deprecated(since = "4.0.0")
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0)