Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,238 for Host (0.02 sec)

  1. src/main/java/org/codelibs/curl/Curl.java

        }
    
        /**
         * Creates a new CurlRequest with the HTTP POST method for the specified URL.
         *
         * @param url the URL to which the POST request will be sent
         * @return a new CurlRequest object configured with the POST method and the specified URL
         */
        public static CurlRequest post(final String url) {
            return new CurlRequest(Method.POST, url);
        }
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/guide/PostExample.java

      final OkHttpClient client = new OkHttpClient();
    
      String post(String url, String json) throws IOException {
        RequestBody body = RequestBody.create(json, JSON);
        Request request = new Request.Builder()
            .url(url)
            .post(body)
            .build();
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        bus.register(compCatcher);
    
        // Two additional event types: Object and Comparable<?> (played by Integer)
        Object objEvent = new Object();
        Object compEvent = 6;
    
        bus.post(EVENT);
        bus.post(objEvent);
        bus.post(compEvent);
    
        // Check the StringCatcher...
        List<String> stringEvents = stringCatcher.getEvents();
        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Arrange ##
            final String url = "http://example.com";
    
            // ## Act ##
            final CurlRequest request = Curl.post(url);
    
            // ## Assert ##
            assertNotNull(request);
            assertEquals(Method.POST, request.method());
        }
    
        @Test
        public void test_PutFactoryMethod() {
            // ## Arrange ##
            final String url = "http://example.com";
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/11-language-change.yml

        attributes:
          label: "Would this change make Go easier or harder to learn, and why?"
    
      - type: textarea
        id: cost-description
        attributes:
          label: "Cost Description"
          description: "What is the cost of this proposal? (Every language change has a cost)"
    
      - type: input
        id: go-toolchain
        attributes:
          label: Changes to Go ToolChain
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Aug 08 19:02:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. .teamcity/scripts/update_wrapper_and_create_pr.sh

    #                     If it's "Release - Release Candidate", version will be from version-info-release-candidate/version-info.properties
    
    post() {
        local endpoint="$1"
        local data="$2"
    
        local response=$(curl -X POST \
            -H "Authorization: token $GITHUB_TOKEN" \
            -H "Accept: application/vnd.github.v3+json" \
            -H "Content-Type: application/json" \
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:20:20 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. doc/godebug.md

    field by default.
    
    Go 1.24 enabled the post-quantum key exchange mechanism
    X25519MLKEM768 by default. The default can be reverted using the
    [`tlsmlkem` setting](/pkg/crypto/tls/#Config.CurvePreferences).
    This can be useful when dealing with buggy TLS servers that do not handle large records correctly,
    causing a timeout during the handshake (see [TLS post-quantum TL;DR fail](https://tldr.fail/)).
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

                return method(Method.HEAD);
            }
    
            /**
             * Sets the HTTP method to POST.
             * @return The current RequestDataContext instance.
             */
            public RequestDataContext post() {
                return method(Method.POST);
            }
    
            /**
             * Sets the URL for this request data.
             *
             * @param url the URL string to be set
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

        bus.register(recorder);
    
        bus.post(FIRST);
    
        assertEquals(
            "EventRecorder expected events in order",
            Lists.<Object>newArrayList(FIRST, SECOND),
            recorder.eventsReceived);
      }
    
      public class EventProcessor {
        @Subscribe
        public void listenForStrings(String event) {
          bus.post(SECOND);
        }
      }
    
      public class EventRecorder {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * C} will be excluded from automated serialization test performed by this method.
       */
      @Test
      public void testSerializable() throws Exception {
        // TODO: when we use @BeforeClass, we can pay the cost of class path scanning only once.
        for (Class<?> classToTest :
            findClassesToTest(loadClassesInPackage(), SERIALIZABLE_TEST_METHOD_NAMES)) {
          if (Serializable.class.isAssignableFrom(classToTest)) {
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top