- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,518 for REQUEST (0.05 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
} /** * Returns true if the request contains conditions that save the server from sending a response * that the client has locally. When a request is enqueued with its own conditions, the built-in * response cache won't be used. */ private fun hasConditions(request: Request): Boolean = request.header("If-Modified-Since") != null || request.header("If-None-Match") != null }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
// spec says that we may repeat the request without modifications. Modern browsers also // repeat the request (even non-idempotent ones.) if (!client.retryOnConnectionFailure) { // The application layer has directed us not to retry the request. return null } val requestBody = userResponse.request.body if (requestBody != null && requestBody.isOneShot()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
val exchange = realChain.exchange!! val request = realChain.request val requestBody = request.body val sentRequestMillis = System.currentTimeMillis() var invokeStartEvent = true var responseBuilder: Response.Builder? = null var sendRequestException: IOException? = null try { exchange.writeRequestHeaders(request) if (HttpMethod.permitsRequestBody(request.method) && requestBody != null) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java
super(client, new SuggestRequest()); request.setReadingConverter(readingConverter); request.setNormalizer(normalizer); } public SuggestRequestBuilder setIndex(final String index) { request.setIndex(index); return this; } public SuggestRequestBuilder setSize(final int size) { request.setSize(size); return this; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestTest.java
assertTrue(request.isHiraganaQuery("けんさく")); assertTrue(request.isHiraganaQuery("あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよをわん")); assertTrue(request.isHiraganaQuery("がぎぐげござじずぜぞだぢづでどばびぶべぼ")); assertTrue(request.isHiraganaQuery("ぁぃぅぇぉっゃゅょ")); assertFalse(request.isHiraganaQuery("こ犬")); assertFalse(request.isHiraganaQuery("abc")); assertFalse(request.isHiraganaQuery("カキク"));
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java
setProcessPlugins(request.isProcessPlugins()); setTwoPhaseBuilding(request.isTwoPhaseBuilding()); setLocationTracking(request.isLocationTracking()); setProfiles(request.getProfiles()); setActiveProfileIds(request.getActiveProfileIds()); setInactiveProfileIds(request.getInactiveProfileIds()); setSystemProperties(request.getSystemProperties()); setUserProperties(request.getUserProperties());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
private MavenExecutionRequest populateFromSettings(MavenExecutionRequest request, Settings settings) throws MavenExecutionRequestPopulationException { if (settings == null) { return request; } request.setOffline(settings.isOffline()); request.setInteractiveMode(settings.isInteractiveMode()); request.setPluginGroups(settings.getPluginGroups());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/GeoInfoTest.java
MockletHttpServletRequest request = getMockRequest(); request.setParameter("geo.location.1.point", "34,150"); request.setParameter("geo.location.1.distance", "10km"); request.setParameter("geo.location.2.point", "35,151"); request.setParameter("geo.location.2.distance", "1km"); final GeoInfo geoInfo = new GeoInfo(request); String result =
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
Response response = client.newCall(request).execute(); response.body().close(); } private static class LoggingInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException { long t1 = System.nanoTime(); Request request = chain.request(); logger.info(String.format("Sending request %s on %s%n%s", request.url(), chain.connection(), request.headers()));
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java
* * @param request The execution request to populate, must not be {@code null}. * @param toolchains The toolchains to copy into the execution request, may be {@code null}. * @return The populated execution request, never {@code null}. * @throws MavenExecutionRequestPopulationException If the execution request could not be populated. * @since 3.3.0 */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0)