Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for urlconnection (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.net.protocol.gcs;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/HandlerTest.java

                @Override
                protected URLConnection openConnection(URL u) throws IOException {
                    return mock(HttpURLConnection.class);
                }
            };
    
            // Create mock HTTPS handler
            URLStreamHandler httpsHandler = new URLStreamHandler() {
                @Override
                protected URLConnection openConnection(URL u) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

         * @throws IOException If the connection cannot be opened
         */
        @Override
        protected URLConnection openConnection(final URL u) throws IOException {
            return new StorageURLConnection(u);
        }
    
        /**
         * StorageURLConnection is a URL connection implementation for accessing storage objects.
         * It extends URLConnection to provide connectivity to MinIO-compatible storage services.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.net.protocol.storage;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.ProtocolException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

            .setBody("ABC")
            .clearHeaders()
            .addHeader("Content-Length: 4"),
        )
        server.enqueue(MockResponse().setBody("DEF"))
        val urlConnection = server.url("/").toUrl().openConnection()
        urlConnection.setReadTimeout(1000)
        val inputStream = urlConnection.getInputStream()
        assertThat(inputStream.read()).isEqualTo('A'.code)
        assertThat(inputStream.read()).isEqualTo('B'.code)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    import java.net.UnknownHostException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

        responses. Both types of calls can be canceled via the `Call` or the
        `OkHttpClient`.
    
     *  **URLConnection support has moved to the okhttp-urlconnection module.**
        If you're upgrading from 1.x, this change will impact you. You will need to
        add the `okhttp-urlconnection` module to your project and use the
        `OkUrlFactory` to create new instances of `HttpURLConnection`:
    
        ```java
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

     */
    
    package jcifs.http;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.net.MalformedURLException;
    import java.net.URLConnection;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.GregorianCalendar;
    import java.util.LinkedList;
    import java.util.ListIterator;
    import java.util.Properties;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .body("DEF")
            .build(),
        )
        val urlConnection = server.url("/").toUrl().openConnection()
        urlConnection!!.readTimeout = 1000
        val inputStream = urlConnection.getInputStream()
        assertThat(inputStream!!.read()).isEqualTo('A'.code)
        assertThat(inputStream.read()).isEqualTo('B'.code)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top