Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,344 for response (0.05 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

     * limitations under the License.
     */
    package okhttp3.sse
    
    import okhttp3.Response
    
    abstract class EventSourceListener {
      /**
       * Invoked when an event source has been accepted by the remote peer and may begin transmitting
       * events.
       */
      open fun onOpen(
        eventSource: EventSource,
        response: Response,
      ) {
      }
    
      /**
       * Invoked when a new event has been sent to the client.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers_test.go

    		if rec.Code != testCase.expectedRespStatus {
    			t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, rec.Code)
    		}
    		if testCase.shouldPass && !bytes.Equal(testCase.lifecycleResponse, rec.Body.Bytes()) {
    			t.Errorf("Test %d: %s: Expected the response to be `%s`, but instead found `%s`", i+1, instanceType, string(testCase.lifecycleResponse), rec.Body.String())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        val request =
          Request
            .Builder()
            .url("https://prod.idrix.eu/secure/")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    object ConsoleCallbackHandler : CallbackHandler {
      override fun handle(callbacks: Array<Callback>) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            final int[] queryCount = { 0 };
    
            // Mock send(create) to wire a query response with fe1, fe2
            doAnswer(inv -> {
                Object arg = inv.getArgument(0);
                if (arg instanceof Smb2CreateRequest) {
                    Smb2CreateRequest create = (Smb2CreateRequest) arg;
                    // Initialize response chain (also for chained query)
                    Smb2CreateResponse cr = create.initResponse(cifsContext);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type2Message.java

        }
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message
         * using default values from the current environment.
         *
         * @param tc
         *            context to use
         * @param type1
         *            The Type-1 message which this represents a response to.
         */
        public Type2Message(final CIFSContext tc, final Type1Message type1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. regression-test/README.md

    ```
    $ adb logcat '*:E' OkHttp:D Http2:D TestRunner:D TaskRunner:D OkHttpTest:D GnssHAL_GnssInterface:F DeviceStateChecker:F memtrack:F
    ...
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseHeadersEnd: Response{protocol=h2, code=200, message=, url=https://1.1.1.1/dns-query?dns=AAABAAABAAAAAAAAA3d3dwhmYWNlYm9vawNjb20AABwAAQ}
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyStart
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Nov 13 07:09:56 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

        /**
         * Sets the tree ID.
         *
         * @param t the tree ID to set
         */
        void setTid(int t);
    
        /**
         * Gets the custom response timeout for this request.
         *
         * @return custom response timeout for this request
         */
        Integer getOverrideTimeout();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/query-param-models.md

    Si un cliente intenta enviar algunos datos **extra** en los **parámetros query**, recibirán un response de **error**.
    
    Por ejemplo, si el cliente intenta enviar un parámetro query `tool` con un valor de `plumbus`, como:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    Recibirán un response de **error** que les indica que el parámetro query `tool` no está permitido:
    
    ```json
    {
        "detail": [
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

          .url("https://api.imgur.com/3/image")
          .post(new ProgressRequestBody(requestBody, progressListener))
          .build();
    
        Response response = client.newCall(request).execute();
        if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
        System.out.println(response.body().string());
      }
    
      public static void main(String... args) throws Exception {
        new UploadProgress().run();
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
Back to top