Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for longUrl (0.03 sec)

  1. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            }
        }
    
        public void test_getSearchEngineHttpAddress_withLongValue() {
            // Test with a very long URL
            StringBuilder longUrl = new StringBuilder("http://");
            for (int i = 0; i < 1000; i++) {
                longUrl.append("a");
            }
            longUrl.append(".example.com:9200");
    
            String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            StringBuilder longUrl = new StringBuilder("http://example.com/");
            for (int i = 0; i < 100; i++) {
                longParentUrl.append("parent/");
                longUrl.append("child/");
            }
    
            ContentNotFoundException exception = new ContentNotFoundException(longParentUrl.toString(), longUrl.toString());
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            }
            String longUrl = longUrlBuilder.toString();
            String message = "Error with long URL";
            Exception cause = new RuntimeException("Error cause");
    
            DataStoreCrawlingException exception = new DataStoreCrawlingException(longUrl, message, cause);
    
            assertEquals(longUrl, exception.getUrl());
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

          Types.newParameterizedType(Map.class, String.class, String.class));
    
      public void run() throws Exception {
        Map<String, String> requestBody = new LinkedHashMap<>();
        requestBody.put("longUrl", "https://publicobject.com/2014/12/04/html-formatting-javadocs/");
        RequestBody jsonRequestBody = RequestBody.create(
            mapJsonAdapter.toJson(requestBody), MEDIA_TYPE_JSON);
        Request request = new Request.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryExpiredException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict;
    
    /**
     * Exception thrown when a dictionary has expired and is no longer valid.
     * This runtime exception indicates that a dictionary file or dictionary data
     * has exceeded its lifetime and should be refreshed or reloaded.
     */
    public class DictionaryExpiredException extends RuntimeException {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt

      ) {}
    
      /**
       * Invoked when a connection is released as no longer required.
       */
      open fun connectionClosed(connection: Connection) {}
    
      /**
       * Invoked when a call is assigned a particular connection.
       */
      open fun connectionAcquired(
        connection: Connection,
        call: Call,
      ) {}
    
      /**
       * Invoked when a call no longer uses a connection.
       */
      open fun connectionReleased(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            // We've chosen a connection to evict. Confirm it's still okay to be evicted, then close it.
            toEvict.withLock {
              if (toEvict.calls.isNotEmpty()) return 0L // No longer idle.
              if (toEvict.idleAtNs != toEvictIdleAtNs) return 0L // No longer oldest.
              toEvict.noNewExchanges = true
              connections.remove(toEvict)
            }
            addressStates[toEvict.route.address]?.scheduleOpener()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
        fun newEventSource(
          request: Request,
          listener: EventSourceListener,
        ): EventSource
    
        companion object {
          /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMapKeySet.java

      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return super.writeReplace();
      }
    
      // No longer used for new writes, but kept so that old data can still be read.
      @GwtIncompatible
      @J2ktIncompatible
      @SuppressWarnings("unused")
      private static final class KeySetSerializedForm<K> implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Internal.java

      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top