- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (0) -
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 Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
mockwebserver/README.md
} return new MockResponse().setResponseCode(404); } }; server.setDispatcher(dispatcher); ``` ### Download ```kotlin testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0") ``` ### License
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 5K 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(DefaultEncryptInvoker.LocalContext context) throws Exception { String encrypted = context.reader.readLine("Enter the password to decrypt: "); if (secDispatcher.isAnyEncryptedString(encrypted)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java
import org.codehaus.plexus.components.secdispatcher.SecDispatcher; import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.ERROR; /** * The support class for goal implementations that requires valid/workable config. */ public abstract class ConfiguredGoalSupport extends GoalSupport { protected ConfiguredGoalSupport(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/GoalSupport.java
import org.codehaus.plexus.components.secdispatcher.SecDispatcher; /** * The support class for goal implementations. */ public abstract class GoalSupport implements Goal { protected final MessageBuilderFactory messageBuilderFactory; protected final SecDispatcher secDispatcher; protected GoalSupport(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java
import org.apache.maven.api.services.PrompterException; import org.codehaus.plexus.components.secdispatcher.MasterSource; import org.codehaus.plexus.components.secdispatcher.MasterSourceMeta; import org.codehaus.plexus.components.secdispatcher.SecDispatcher; import org.codehaus.plexus.components.secdispatcher.SecDispatcherException; /** * Trivial master password source using Maven {@link Prompter} service. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Diag.java
import org.codehaus.plexus.components.secdispatcher.SecDispatcher; import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.OK; /** * The "diag" goal. */ @Singleton @Named("diag") public class Diag extends ConfiguredGoalSupport { @Inject public Diag(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) { super(messageBuilderFactory, secDispatcher); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java
import org.codehaus.plexus.components.secdispatcher.SecDispatcher; import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.OK; /** * The "encrypt" goal. */ @Singleton @Named("encrypt") public class Encrypt extends ConfiguredGoalSupport { @Inject public Encrypt(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) { super(messageBuilderFactory, secDispatcher);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0)