Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for longUrl (0.11 sec)

  1. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

      public static void testSubtypeOfStaticAnonymousClass() {
        Class<?> superclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass();
        assertTrue(TypeToken.of(superclass).isSubtypeOf(superclass));
        assertFalse(
            TypeToken.of(new Mall<Outdoor>().new Shop<Electronics>() {}.getClass())
                .isSubtypeOf(superclass));
      }
    
      @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/GraphConstants.java

          "Node %s that was used to generate this set is no longer in the graph.";
      static final String NODE_PAIR_REMOVED_FROM_GRAPH =
          "Node %s or node %s that were used to generate this set are no longer in the graph.";
      static final String EDGE_REMOVED_FROM_GRAPH =
          "Edge %s that was used to generate this set is no longer in the graph.";
      static final String REUSING_EDGE =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/web-platform-test-toascii.json

        "input": "\uFFFD.com",
        "output": null
      },
      {
        "comment": "U+FFFD character encoded in Punycode",
        "input": "xn--zn7c.com",
        "output": null
      },
      {
        "comment": "Label longer than 63 code points",
        "input": "x01234567890123456789012345678901234567890123456789012345678901x",
        "output": "x01234567890123456789012345678901234567890123456789012345678901x"
      },
      {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/internal/Finalizer.java

       * @param queue a reference queue that the thread will poll.
       * @param frqReference a phantom reference to the FinalizableReferenceQueue, which will be queued
       *     either when the FinalizableReferenceQueue is no longer referenced anywhere, or when its
       *     close() method is called.
       */
      public static void startFinalizer(
          Class<?> finalizableReferenceClass,
          ReferenceQueue<Object> queue,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        `Dispatcher.getRunningCallCount()`. These can be useful in diagnostics.
     *  Fix: OkHttp no longer shares timeouts between pooled connections. This was
        causing some applications to crash when connections were reused.
     *  Fix: `OkApacheClient` now allows an empty `PUT` and `POST`.
     *  Fix: Websockets no longer rebuffer socket streams.
     *  Fix: Websockets are now better at handling close frames.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

    class WebPlatformToAsciiTest {
      @Suppress("ktlint:standard:max-line-length")
      val knownFailures =
        setOf(
          // OkHttp rejects empty labels.
          "x..xn--zca",
          "x..ß",
          // OkHttp rejects labels longer than 63 code points, the web platform tests don't.
          "x01234567890123456789012345678901234567890123456789012345678901x.xn--zca",
          "x01234567890123456789012345678901234567890123456789012345678901x.ß",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         */
        @Override
        protected int doSendReceiveFragment ( byte[] buf, int off, int length, byte[] inB ) throws IOException {
            if ( this.handle.isStale() ) {
                throw new IOException("DCERPC pipe is no longer open");
            }
    
            int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv());
    
            int fraglen = Encdec.dec_uint16le(inB, 8);
            if ( fraglen > getMaxRecv() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  10. internal/lock/lock_windows_test.go

    package lock
    
    import (
    	"strings"
    	"testing"
    )
    
    func TestFixLongPath(t *testing.T) {
    	// 248 is long enough to trigger the longer-than-248 checks in
    	// fixLongPath, but short enough not to make a path component
    	// longer than 255, which is illegal on Windows. (which
    	// doesn't really matter anyway, since this is purely a string
    	// function we're testing, and it's not actually being used to
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top