Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for payloads (0.04 sec)

  1. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length);
            assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]);
            assertEquals("Second payload should be AnotherTestPayload", AnotherTestPayload.class, multiAnnotation.payload()[1]);
        }
    
        // Test ProtocolType enum values
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        val b1 = source.readByte() and 0xff
    
        val isMasked = b1 and B1_FLAG_MASK != 0
        if (isMasked == isClient) {
          // Masked payloads must be read on the server. Unmasked payloads must be read on the client.
          throw ProtocolException(
            if (isClient) {
              "Server-sent frames must not be masked."
            } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length);
            assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]);
            assertEquals("Second payload should be AnotherTestPayload", AnotherTestPayload.class, multiAnnotation.payload()[1]);
        }
    
        // Additional test interfaces for multiple groups/payloads test
        private interface AnotherTestGroup {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          } catch (e: IOException) {
            failConnection(e)
          }
        }
      }
    
      fun writePing(
        reply: Boolean,
        payload1: Int,
        payload2: Int,
      ) {
        try {
          writer.ping(reply, payload1, payload2)
        } catch (e: IOException) {
          failConnection(e)
        }
      }
    
      /** For testing: sends a ping and waits for a pong. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      /** Send a ping with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePing(payload: ByteString) {
        writeControlFrame(OPCODE_CONTROL_PING, payload)
      }
    
      /** Send a pong with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePong(payload: ByteString) {
        writeControlFrame(OPCODE_CONTROL_PONG, payload)
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Verify the peer received what was expected.
        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
        assertThat(ping.streamId).isEqualTo(0)
        assertThat(ping.payload1).isEqualTo(2)
        assertThat(ping.payload2).isEqualTo(3)
        assertThat(ping.ack).isTrue()
      }
    
      @Test fun peerHttp2ServerLowersInitialWindowSize() {
        val initial = Settings()
        initial[Settings.INITIAL_WINDOW_SIZE] = 1684
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/validation/CustomSize.java

        /**
         * The validation groups this constraint belongs to.
         * @return the groups
         */
        Class<?>[] groups() default {};
    
        /**
         * The payload associated with this constraint.
         * @return the payload
         */
        Class<? extends Payload>[] payload() default {};
    
        /**
         * Gets the configuration key for the minimum size constraint.
         * @return name of size the element must be higher or equal to
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/validation/CronExpression.java

        /**
         * The validation groups this constraint belongs to.
         * @return the groups
         */
        Class<?>[] groups() default {};
    
        /**
         * The payload associated with this constraint.
         * @return the payload
         */
        Class<? extends Payload>[] payload() default {};
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/validation/UriType.java

        /**
         * The validation groups.
         *
         * @return the validation groups
         */
        Class<?>[] groups() default {};
    
        /**
         * The payload for constraint.
         *
         * @return the payload
         */
        Class<? extends Payload>[] payload() default {};
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

                }
    
                @Override
                public Class<?>[] groups() {
                    return new Class<?>[0];
                }
    
                @Override
                public Class<? extends Payload>[] payload() {
                    return new Class[0];
                }
    
                @Override
                public String minKey() {
                    return "";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top