- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 1,407 for responsive (0.08 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
} String response2Body; try (Response response2 = client.newCall(request).execute()) { if (!response2.isSuccessful()) throw new IOException("Unexpected code " + response2); response2Body = response2.body().string(); System.out.println("Response 2 response: " + response2); System.out.println("Response 2 cache response: " + response2.cacheResponse());
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
response.setContentType("text/html;charset=utf-8"); } else if (lowerPath.endsWith(".css")) { response.setContentType("text/css"); } else if (lowerPath.endsWith(".eot")) { response.setContentType("application/vnd.ms-fontobject"); } else if (lowerPath.endsWith(".ico")) { response.setContentType("image/vnd.microsoft.icon");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
} companion object { /** Returns true if [response] can be stored to later serve another request. */ fun isCacheable( response: Response, request: Request, ): Boolean { // Always go to network for uncacheable response codes (RFC 7231 section 6.1), This // implementation doesn't support caching partial content. when (response.code) { HTTP_OK, HTTP_NOT_AUTHORITATIVE,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
) serverIpv6.enqueue( MockResponse(body = "hello from IPv6"), ) val call = client.newCall(Request(url)) val response = call.execute() assertThat(response.body.string()).isEqualTo("hello from IPv6") // In the process we made one successful connection attempt. assertThat(listener.recordedEventTypes().filter { it == "ConnectStart" }).hasSize(1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
@Override public <Request extends ActionRequest, Response extends ActionResponse> ActionFuture<Response> execute( final ActionType<Response> action, final Request request) { return client.execute(action, request); } @Override public <Request extends ActionRequest, Response extends ActionResponse> void execute(final ActionType<Response> action,
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java
import jcifs.internal.util.SMBUtil; /** * SMB2 Logoff response message. This response acknowledges the termination of an SMB2 session. * * @author mbechler * */ public class Smb2LogoffResponse extends ServerMessageBlock2Response { /** * Constructs an SMB2 logoff response with the given configuration. * * @param config the configuration for this response */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
engineObj.activeShards = response.getActiveShards(); engineObj.activeShardsPercent = response.getActiveShardsPercent(); engineObj.relocatingShards = response.getRelocatingShards(); engineObj.initializingShards = response.getInitializingShards(); engineObj.unassignedShards = response.getUnassignedShards(); engineObj.delayedUnassignedShards = response.getDelayedUnassignedShards();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
public void test_doFilter_withNullWebApiManager() throws IOException, ServletException { // Setup mock objects HttpServletRequest request = createMockHttpServletRequest(); HttpServletResponse response = createMockHttpServletResponse(); AtomicBoolean chainCalled = new AtomicBoolean(false); FilterChain chain = new FilterChain() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt
) fun headers(): Headers = headers @JvmName("-deprecated_response") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "response"), level = DeprecationLevel.ERROR, ) fun response(): MockResponse = response
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
Request request = new Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build(); try (Response response = client.newCall(request).execute()) { System.out.println("Response completed: " + response); } } public static void main(String... args) throws Exception { new ConfigureTimeouts().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Sep 28 18:00:26 UTC 2019 - 1.5K bytes - Viewed (0)