Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setRequestMethod (0.19 sec)

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

        }
    
        public boolean getInstanceFollowRedirects() {
            return connection.getInstanceFollowRedirects();
        }
    
        public void setRequestMethod(String requestMethod)
                throws ProtocolException {
            connection.setRequestMethod(requestMethod);
            this.method = requestMethod;
        }
    
        public String getRequestMethod() {
            return connection.getRequestMethod();
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        public boolean getInstanceFollowRedirects () {
            return this.connection.getInstanceFollowRedirects();
        }
    
    
        @Override
        public void setRequestMethod ( String requestMethod ) throws ProtocolException {
            this.connection.setRequestMethod(requestMethod);
            this.method = requestMethod;
        }
    
    
        @Override
        public String getRequestMethod () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

                try {
                    logger.fine(() -> ">>> " + method + " " + url);
                    final URL u = new URL(url);
                    connection = open(u);
                    connection.setRequestMethod(method.toString());
                    if (headerList != null) {
                        for (final String[] values : headerList) {
                            logger.fine(() -> ">>> " + values[0] + "=" + values[1]);
    Java
    - Registered: Thu Apr 25 15:34:08 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        // 3.5 MBytes so this test can pass on devices with little memory.
        server.bodyLimit = 7 * 512 * 1024
        val connection = server.url("/").toUrl().openConnection() as HttpURLConnection
        connection.setRequestMethod("POST")
        connection.setDoOutput(true)
        connection.setFixedLengthStreamingMode(1024 * 1024 * 1024) // 1 GB
        connection.connect()
        val out = connection.outputStream
        val data = ByteArray(1024 * 1024)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
Back to top