Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,518 for REQUEST (0.11 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

            request.addRole(role);
            return this;
        }
    
        public PopularWordsRequestBuilder addField(final String field) {
            request.addField(field);
            return this;
        }
    
        public PopularWordsRequestBuilder addLanguage(final String lang) {
            request.addLanguage(lang);
            return this;
        }
    
        public PopularWordsRequestBuilder setSeed(final String seed) {
            request.setSeed(seed);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

          ),
        )
      }
    
      @Test
      fun getHasCorrectResponse() {
        val request = Request(server.url("/abc"))
    
        val response = testBasicCachingRules(request)
    
        assertThat(response.request.url).isEqualTo(request.url)
        assertThat(response.cacheResponse!!.request.url).isEqualTo(request.url)
      }
    
      @Test
      fun postWithOverrideResponse() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. 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)
  4. okhttp/src/main/kotlin/okhttp3/Call.kt

    import okio.Timeout
    
    /**
     * A call is a request that has been prepared for execution. A call can be canceled. As this object
     * represents a single request/response pair (stream), it cannot be executed twice.
     */
    interface Call : Cloneable {
      /** Returns the original request that initiated this call. */
      fun request(): Request
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

        @Deprecated
        public RepositorySystemSession newRepositorySession(MavenExecutionRequest request) {
            return newRepositorySessionBuilder(request).build();
        }
    
        @SuppressWarnings({"checkstyle:methodLength"})
        public SessionBuilder newRepositorySessionBuilder(MavenExecutionRequest request) {
            requireNonNull(request, "request");
    
            // apply MavenExecutionRequestExtenders
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. docs/recipes.md

        ```java
          private final OkHttpClient client = new OkHttpClient();
    
          public void run() throws Exception {
            Request request = new Request.Builder()
                .url("https://publicobject.com/helloworld.txt")
                .build();
    
            try (Response response = client.newCall(request).execute()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

    import okio.buffer
    
    /** Rewrites the request body sent to the server to be all uppercase.  */
    class UppercaseRequestInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Chain): Response {
        return chain.proceed(uppercaseRequest(chain.request()))
      }
    
      /** Returns a request that transforms `request` to be all uppercase.  */
      private fun uppercaseRequest(request: Request): Request {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            return client.prepareMultiTermVectors();
        }
    
        @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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

                } else if (data instanceof ArtifactDescriptorRequest request) {
                    return "artifact descriptor request for " + request.getArtifact();
                } else if (data instanceof ArtifactRequest request) {
                    return "artifact request for " + request.getArtifact();
                } else if (data instanceof Plugin plugin) {
                    return "plugin request " + plugin.getId();
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cache.kt

            throw IOException(e.message)
          }
        }
    
        fun matches(
          request: Request,
          response: Response,
        ): Boolean {
          return url == request.url &&
            requestMethod == request.method &&
            varyMatches(response, varyHeaders, request)
        }
    
        fun response(snapshot: DiskLruCache.Snapshot): Response {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top