Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CurlException (0.18 sec)

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

     */
    package org.codelibs.curl;
    
    public class CurlException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        public CurlException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        public CurlException(final String message) {
            super(message);
        }
    
    Java
    - Registered: Thu May 02 15:34:13 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 950 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlRequest.java

            if (bodyStream != null) {
                throw new CurlException("body method is already called.");
            }
            this.body = body;
            return this;
        }
    
        public CurlRequest body(final InputStream stream) {
            if (body != null) {
                throw new CurlException("body method is already called.");
            }
            this.bodyStream = stream;
    Java
    - Registered: Thu May 02 15:34:13 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

                throw new CurlException("Failed to access the content.", e);
            }
        }
    
        public InputStream getContentAsStream() throws IOException {
            if (contentCache == null) {
                if (contentException != null) {
                    throw new CurlException("The content does not exist.", contentException);
                } else {
                    throw new CurlException("The content does not exist.");
                }
    Java
    - Registered: Thu May 02 15:34:13 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top