Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getResponseMessage (0.14 sec)

  1. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/src/main/java/org/myorg/http/DefaultHttpCaller.java

                connection.setRequestMethod("GET");
                connection.connect();
    
                int code = connection.getResponseCode();
                String message = connection.getResponseMessage();
                return new HttpResponse(code, message);
            } catch (IOException e) {
                throw new HttpCallException(String.format("Failed to call URL '%s' via HTTP GET", url), e);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:15:15 UTC 2024
    - 911 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/groovy/url-verifier-plugin/src/main/java/org/myorg/http/DefaultHttpCaller.java

                connection.setRequestMethod("GET");
                connection.connect();
    
                int code = connection.getResponseCode();
                String message = connection.getResponseMessage();
                return new HttpResponse(code, message);
            } catch (IOException e) {
                throw new HttpCallException(String.format("Failed to call URL '%s' via HTTP GET", url), e);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:15:15 UTC 2024
    - 911 bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                handshake();
            } catch (IOException ex) { }
            return connection.getResponseCode();
        }
    
        public String getResponseMessage() throws IOException {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getResponseMessage();
        }
    
        public void disconnect() {
            connection.disconnect();
            handshakeComplete = false;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            handshake();
            return this.connection.getResponseCode();
        }
    
    
        @Override
        public String getResponseMessage () throws IOException {
            handshake();
            return this.connection.getResponseMessage();
        }
    
    
        @Override
        public void disconnect () {
            this.connection.disconnect();
            this.handshakeComplete = false;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
Back to top