Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,344 for response (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt

        throw IllegalStateException(
          """
          |Unreadable ResponseBody! These Response objects have bodies that are stripped:
          | * Response.cacheResponse
          | * Response.networkResponse
          | * Response.priorResponse
          | * EventSourceListener
          | * WebSocketListener
          |(It is safe to call contentType() and contentLength() on these response bodies.)
          """.trimMargin(),
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 15:19:53 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

            list.setTook(response.getTook().getMillis());
            list.setTotalShards(response.getTotalShards());
            list.setSuccessfulShards(response.getSuccessfulShards());
            list.setFailedShards(response.getFailedShards());
            list.setTotalHits(searchHits.getTotalHits());
    
            list.setAggregation(response.getAggregations());
    
            // #pending others
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

          client
            .newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build()
        try {
          client1.newCall(request).execute().use { response ->
            println("Response 1 succeeded: $response")
          }
        } catch (e: IOException) {
          println("Response 1 failed: $e")
        }
    
        // Copy to customize OkHttp for this request.
        val client2 =
          client
            .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/Rule.java

     * response data in a web crawler. Implementations of this interface should provide logic
     * to determine if a given response data matches the rule, retrieve the rule's identifier,
     * and obtain the associated response processor.
     */
    public interface Rule extends Serializable {
    
        /**
         * Determines if the given response data matches the rule.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/WebApiResponse.java

    /**
     * Wrapper for HTTP servlet responses in web API context.
     * This class extends HttpServletResponseWrapper to provide custom response handling
     * for web API responses, including dummy output stream management.
     */
    public class WebApiResponse extends HttpServletResponseWrapper {
    
        /**
         * Constructs a WebApiResponse with the specified response.
         *
         * @param response The original HTTP servlet response
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

         */
        public boolean isPartialResults() {
            return partialResults;
        }
    
        /**
         * Gets the facet response containing aggregated facet information.
         *
         * @return The facet response, or null if no facets were requested
         */
        public FacetResponse getFacetResponse() {
            return facetResponse;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. 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() {
      DevServer().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt

            .Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build()
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          val gist = gistJsonAdapter.fromJson(response.body!!.source())
    
          for ((key, value) in gist!!.files!!) {
            println(key)
            println(value.content)
          }
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

        }
    
        @Test
        void testInstall_ng() {
            checkPostMethod(Collections.emptyMap(), getInstallEndpointSuffix()).then().body("response.status", equalTo(1));
        }
    
        @Test
        void testDelete_ng() {
            checkDeleteMethod(Collections.emptyMap()).then().body("response.status", equalTo(1));
        }
    
        @Test
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            recordNameField.setAccessible(true);
            recordNameField.set(response, new Name(mockConfig));
    
            Field questionNameField = NameServicePacket.class.getDeclaredField("questionName");
            questionNameField.setAccessible(true);
            questionNameField.set(response, new Name(mockConfig));
    
            int result = response.readBodyWireFormat(src, srcIndex);
            assertTrue(result > 0);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top