Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getContentAsStream (0.06 sec)

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

         */
        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
            try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream());
                    ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                int length = bis.read(bytes);
                while (length != -1) {
                    if (length != 0) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                    final File tempFile = ComponentUtil.getSystemHelper().createTempFile("sereq_", ".json");
                    try (final InputStream in = response.getContentAsStream()) {
                        CopyUtil.copy(in, tempFile);
                    } catch (final Exception e1) {
                        if (tempFile != null && tempFile.exists() && !tempFile.delete()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top