Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for setResponseBody (0.08 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                        try (InputStream contentStream = new BufferedInputStream(minioClient.getObject(args))) {
                            responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
                        } catch (final Exception e) {
                            logger.warn("I/O Exception.", e);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                                responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
                            }
                        } else {
                            outputFile = File.createTempFile("crawler-FtpClient-", ".out");
                            CopyUtil.copy(tempFile, outputFile);
                            responseData.setResponseBody(outputFile, true);
                        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            final byte[] data = new String("xyz").getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://www.example.com/submit?a=1&b=2");
            responseData.setResponseBody(data);
            responseData.setCharSet("UTF-8");
            setBaseDir();
            final ResultData resultData = fileTransformer.transform(responseData);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                    + "<field name=\"false\">false</field>\n"//
                    + "</doc>";
    
            final ResponseData responseData = new ResponseData();
            responseData.setResponseBody(ResourceUtil.getResourceAsFile("html/test1.html"), false);
            responseData.setCharSet(Constants.UTF_8);
            final ResultData resultData = new ResultData();
            xpathTransformer.storeData(responseData, resultData);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    }
                }
    
                long contentLength = 0;
                String contentEncoding = Constants.UTF_8;
                if (httpEntity == null) {
                    responseData.setResponseBody(new byte[0]);
                    if (contentType == null) {
                        contentType = defaultMimeType;
                    }
                } else {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                responseData.setMethod("GET");
                responseData.setMimeType("text/html");
                responseData.setParentUrl("http://fess.codelibs.org/");
                responseData.setResponseBody(data.getBytes());
                responseData.setSessionId("test-1");
                responseData.setStatus(0);
                responseData.setUrl("http://fess.codelibs.org/test.html");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top