Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for HttpURLConnection (0.65 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

    import jcifs.smb1.ntlmssp.Type3Message;
    import jcifs.smb1.util.Base64;
    
    /**
     * Wraps an <code>HttpURLConnection</code> to provide NTLM authentication
     * services.
     *
     * Please read <a href="../../../httpclient.html">Using jCIFS NTLM Authentication for HTTP Connections</a>.
     */
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final int MAX_REDIRECTS = Integer.getInteger("http.maxRedirects", 20);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    package jcifs.http;
    
    import static java.net.HttpURLConnection.HTTP_OK;
    import static java.net.HttpURLConnection.HTTP_UNAUTHORIZED;
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

        /**
         * Opens a connection to the specified URL.
         *
         * @param u the URL
         * @return the HttpURLConnection
         * @throws IOException if an I/O exception occurs
         */
        protected HttpURLConnection open(final URL u) throws IOException {
            final HttpURLConnection connection = (HttpURLConnection) (proxy != null ? u.openConnection(proxy) : u.openConnection());
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/Handler.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.http;
    
    import java.io.IOException;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    import java.net.URLStreamHandlerFactory;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.StringTokenizer;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) {
                try {
                    actionListener.accept(new MockHttpURLConnection(new URL(url)));
                } catch (MalformedURLException e) {
                    exceptionListener.accept(e);
                }
            }
        }
    
        class MockHttpURLConnection extends HttpURLConnection {
    
            MockHttpURLConnection(URL u) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpURLConnection.java

     */
    @Deprecated
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final Logger log = LoggerFactory.getLogger(NtlmHttpURLConnection.class);
        private static final int MAX_REDIRECTS = Integer.getInteger("http.maxRedirects", 20);
    
        private HttpURLConnection connection;
    
        private final Map<String, List<String>> requestProperties;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/Handler.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.http;
    
    import java.io.IOException;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    import java.net.URLStreamHandlerFactory;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.StringTokenizer;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/HandlerTest.java

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

    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.HttpURLConnection;
    import java.net.Proxy;
    import java.util.concurrent.ForkJoinPool;
    
    import javax.net.ssl.SSLSocketFactory;
    
    import org.codelibs.curl.Curl.Method;
    import org.junit.Test;
    
    /**
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top