Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nulla (0.16 sec)

  1. src/main/java/org/codelibs/curl/io/ContentCache.java

        public ContentCache(final byte[] data) {
            this.data = data;
            this.file = null;
        }
    
        public ContentCache(final File file) {
            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.6K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/curl/CurlTest.java

                keyStore.load(null, null);
                keyStore.setCertificateEntry("server", certificate);
    
                TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
                trustManagerFactory.init(keyStore);
    
                SSLContext sslContext = SSLContext.getInstance("TLS");
                sslContext.init(null, trustManagerFactory.getTrustManagers(), null);
    
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  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 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
                        } catch (final IOException e) {
                            logger.warning(e.getLocalizedMessage());
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/CurlRequest.java

            if (value == null) {
                return this;
            }
            if (paramList == null) {
                paramList = new ArrayList<>();
            }
            paramList.add(encode(key) + "=" + encode(value));
            return this;
        }
    
        public CurlRequest header(final String key, final String value) {
            if (headerList == null) {
                headerList = new ArrayList<>();
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top