Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 705 for REQUEST (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

      public void run() throws Exception {
        File file = new File("README.md");
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(RequestBody.create(file, MEDIA_TYPE_MARKDOWN))
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

          .build()
    
      fun run() {
        try {
          val request = Request(server.url("/"))
    
          client.newCall(request).execute().use { response ->
            if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
            println(response.request.url)
          }
        } finally {
          server.shutdown()
        }
      }
    }
    
    fun main() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java

    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Action class for handling HTTP 400 Bad Request error pages.
     * This action displays error pages when a client request contains
     * invalid syntax or cannot be fulfilled due to malformed request parameters.
     */
    public class ErrorBadrequrestAction extends FessSearchAction {
    
        /**
         * Default constructor for ErrorBadrequrestAction.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/sereq/UploadForm.java

    /**
     * Form for uploading search request files to the Fess search engine.
     * This form is used in the admin interface to upload search request configuration files
     * that define search behaviors and request handling.
     */
    public class UploadForm {
    
        /**
         * The multipart file containing the search request configurations to be uploaded.
         * This file should contain search request definitions and configurations.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          val request =
            request()
              .withPath("/person")
              .withQueryStringParameter("name", "peter")
    
          mockServerClient
            .`when`(
              request,
            ).respond(response().withBody("Peter the person!"))
    
          function(mockServerClient)
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostString.java

            + " * _1.1_ June 15, 2013\n"
            + " * _1.2_ August 11, 2013\n";
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(RequestBody.create(postBody, MEDIA_TYPE_MARKDOWN))
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  7. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

        sendRequest(client, "https://google.com/robots.txt");
      }
    
      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
          assertEquals(Protocol.HTTP_2, response.protocol());
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                            });
        }
    
        /**
         * Creates a search condition for the OpenSearch request.
         *
         * @param query the search query string
         * @param params the search request parameters
         * @param userBean the optional user bean for access control
         * @return the search condition for the request
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/web.xml

        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
      <filter-mapping>
        <filter-name>corsFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
      <filter-mapping>
        <filter-name>webApiFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue May 06 09:19:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

     *  Fix: Don't use SPDY/3 style header concatenation for HTTP/2 request headers.
        This could have corrupted requests where multiple headers had the same name,
        as in cookies.
     *  Fix: Reject bad characters in the URL hostname. Previously characters like
        `\0` would cause a late crash when building the request.
     *  Fix: Allow interceptors to change the request method.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top