Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for getInputStream (0.15 sec)

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

                            if (GZIP.equals(con.getContentEncoding())) {
                                return new GZIPInputStream(con.getInputStream());
                            } else {
                                return con.getInputStream();
                            }
                        } else if (Method.HEAD.toString().equalsIgnoreCase(con.getRequestMethod())) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/net/URLUtil.java

            assertArgumentNotNull("url", url);
    
            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
                return connection.getInputStream();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                    final File tempFile = ComponentUtil.getSystemHelper().createTempFile("tmp-adminplugin-", ".jar");
                    try (final InputStream is = form.jarFile.getInputStream(); final OutputStream os = new FileOutputStream(tempFile)) {
                        CopyUtil.copy(is, os);
                    } catch (final Exception e) {
                        if (tempFile.exists() && !tempFile.delete()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadStopwordsFile(GLOBAL));
                return null;
            });
            try (InputStream inputStream = form.stopwordsFile.getInputStream()) {
                file.update(inputStream);
            } catch (final IOException e) {
                logger.warn("Failed to process a request.", e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      @Throws(IOException::class)
      override fun close() {
        delegate!!.close()
      }
    
      override fun getInetAddress(): InetAddress = delegate!!.inetAddress
    
      @Throws(IOException::class)
      override fun getInputStream(): InputStream = delegate!!.inputStream
    
      @Throws(SocketException::class)
      override fun getKeepAlive(): Boolean = delegate!!.keepAlive
    
      override fun getLocalAddress(): InetAddress = delegate!!.localAddress
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

            verifyToken(() -> uploadpage(form.dictId));
            return stopwordsService.getStopwordsFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.stopwordsFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

             *
             * @return An input stream for reading the object content
             * @throws IOException If the object cannot be accessed
             */
            @Override
            public InputStream getInputStream() throws IOException {
                if (!connected) {
                    connect();
                }
                try {
                    final Blob blobObj = getBlob();
                    if (blobObj == null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

             *
             * @return An input stream for reading the object content
             * @throws IOException If the object cannot be accessed
             */
            @Override
            public InputStream getInputStream() throws IOException {
                if (!connected) {
                    connect();
                }
                try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

            validateApi(body, messages -> {});
            CommonPoolUtil.execute(() -> {
                try (Reader reader = new BufferedReader(new InputStreamReader(body.badWordFile.getInputStream(), getCsvEncoding()))) {
                    badWordService.importCsv(reader);
                    suggestHelper.storeAllBadWords(false);
                } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        public Permission getPermission() throws IOException {
            return this.connection.getPermission();
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            handshake();
            return this.connection.getInputStream();
        }
    
        @SuppressWarnings("resource")
        @Override
        public OutputStream getOutputStream() throws IOException {
            connect();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top