- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,120 for execute (0.29 sec)
-
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
val request = Request.Builder().url(server.url("/")).build() client.newCall(request).execute().use { response -> assertEquals(200, response.code) } client.connectionPool.evictAll() assertEquals(0, client.connectionPool.connectionCount()) client.newCall(request).execute().use { response -> assertEquals(200, response.code) } assertEquals(2, sessionIds.size)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1) -
android/guava/src/com/google/common/util/concurrent/DirectExecutor.java
import com.google.common.annotations.GwtCompatible; import java.util.concurrent.Executor; /** * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute * execute}. */ @GwtCompatible @ElementTypesAreNonnullByDefault enum DirectExecutor implements Executor { INSTANCE; @Override public void execute(Runnable command) { command.run(); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 05 22:27:35 GMT 2021 - 1.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.header("User-Agent", "SyncApiTest") .build() val call = client.newCall(request) val response = call.execute() response.body.close() assertFailsWith<IllegalStateException> { call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("Already Executed") } assertFailsWith<IllegalStateException> { call.enqueue(callback) }.also { expected ->
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Call.kt
fun cancel() /** * Returns true if this call has been either [executed][execute] or [enqueued][enqueue]. It is an * error to execute a call more than once. */ fun isExecuted(): Boolean fun isCanceled(): Boolean /** * Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java
// Search Execute // ============== @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asListHtml(); } @Execute @Secured({ ROLE, ROLE + VIEW })
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
// Search Execute // ============== @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index(final SearchForm form) { return asListHtml(); } @Execute @Secured({ ROLE, ROLE + VIEW })
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
val callB = client.newCall(Request(server.url("/"))) callB.execute().use { response -> assertThat(response.body.string()).isEqualTo("abc") } } private fun makeSimpleCall() { server.enqueue(MockResponse(body = "healthy")) val callB = client.newCall(Request(server.url("/"))) callB.execute().use { response -> assertThat(response.body.string()).isEqualTo("healthy") }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 17.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
// Search Execute // ============== @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index(final SearchForm form) { return asListHtml(); } @Execute @Secured({ ROLE, ROLE + VIEW })
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 13.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* (unless the executor has been shutdown). * * <p>The returned executor is backed by the executor returned by {@link * MoreExecutors#newDirectExecutorService} and subject to the same constraints. * * <p>Although all tasks are immediately executed in the thread that submitted the task, this
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 26 22:04:00 GMT 2023 - 6.7K bytes - Viewed (0)