Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 1,838 for RESPONSE (0.08 seconds)

  1. docs/features/https.md

                .url("https://publicobject.com/robots.txt")
                .build();
    
            try (Response response = client.newCall(request).execute()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              for (Certificate certificate : response.handshake().peerCertificates()) {
                System.out.println(CertificatePinner.pin(certificate));
              }
            }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

        /**
         * Creates a new SitemapsRule instance.
         */
        public SitemapsRule() {
            super();
        }
    
        /**
         * Matches the given response data against the sitemaps rule.
         * @param responseData The response data.
         * @return true if the response data matches the sitemaps rule, false otherwise.
         */
        @Override
        public boolean match(final ResponseData responseData) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java

    /**
     * SMB2 Write response message.
     *
     * This response contains information about the write operation,
     * including the number of bytes actually written.
     *
     * @author mbechler
     */
    public class Smb2WriteResponse extends ServerMessageBlock2Response {
    
        private int count;
        private int remaining;
    
        /**
         * Creates a new SMB2 write response.
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

        val request =
          Request
            .Builder()
            .url("https://valid-isrgrootx1.letsencrypt.org/robots.txt")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(404)
          assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

    import org.codelibs.fess.suggest.request.Response;
    
    /**
     * Represents the response for popular words request.
     */
    public class PopularWordsResponse implements Response {
    
        /**
         * The index associated with the response.
         */
        protected final String index;
    
        /**
         * The time taken to generate the response in milliseconds.
         */
        protected final long tookMs;
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/request/Request.java

    import org.opensearch.transport.client.Client;
    
    /**
     * Abstract class representing a request that can be executed to produce a response.
     *
     * @param <T> the type of response produced by this request
     */
    public abstract class Request<T extends Response> {
        /**
         * Constructs a new request.
         */
        public Request() {
            // nothing
        }
    
        /**
         * Executes the request.
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt

          Request(
            url = "https://en.wikipedia.org/w/index.php".toHttpUrl(),
            body = formBody,
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      PostForm().run()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. docs_src/custom_request_and_route/tutorial002_an_py310.py

    from fastapi import Body, FastAPI, HTTPException, Request, Response
    from fastapi.exceptions import RequestValidationError
    from fastapi.routing import APIRoute
    
    
    class ValidationErrorLoggingRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                try:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 974 bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

            e.printStackTrace();
          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
            try (ResponseBody responseBody = response.body()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              Headers responseHeaders = response.headers();
              for (int i = 0, size = responseHeaders.size(); i < size; i++) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.9K bytes
    - Click Count (0)
  10. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

              Response
                .Builder()
                .request(chain.request())
                .protocol(Protocol.HTTP_1_1)
                .code(200)
                .message("OK")
                .body(gzip("Hello").asResponseBody())
                .header("Content-Encoding", "gzip")
                .build()
            }.build()
    
        val response = client.newCall(Request("https://google.com/robots.txt".toHttpUrl())).execute()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top