Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for ResponseData (0.18 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

        @Override
        protected void storeData(final ResponseData responseData, final ResultData resultData) {
            final DOMParser parser = getDomParser();
            try (final InputStream in = responseData.getResponseBody()) {
                final InputSource is = new InputSource(in);
                if (responseData.getCharSet() != null) {
                    is.setEncoding(responseData.getCharSet());
                }
                parser.parse(is);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.smb1;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbClientTest extends PlainTestCase {
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

        @Resource
        protected CrawlerContainer crawlerContainer;
    
        @Override
        public void process(final ResponseData responseData) {
            final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper");
            try (final InputStream responseBody = responseData.getResponseBody()) {
                final SitemapSet sitemapSet = sitemapsHelper.parse(responseBody);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                    + "</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/processor/impl/NullResponseProcessor.java

     */
    package org.codelibs.fess.crawler.processor.impl;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    
    /**
     * @author kuma
     *
     */
    public class NullResponseProcessor implements ResponseProcessor {
    
        @Override
        public void process(final ResponseData responseData) {
            // do nothing
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 987 bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/Rule.java

    package org.codelibs.fess.crawler.rule;
    
    import java.io.Serializable;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    
    /**
     * @author shinsuke
     *
     */
    public interface Rule extends Serializable {
    
        boolean match(ResponseData responseData);
    
        String getRuleId();
    
        ResponseProcessor getResponseProcessor();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1007 bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.rule;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    
    /**
     * @author shinsuke
     *
     */
    public interface RuleManager {
    
        Rule getRule(ResponseData responseData);
    
        void addRule(Rule rule);
    
        void addRule(int index, Rule rule);
    
        boolean removeRule(Rule rule);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 967 bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.fess.crawler.entity.RequestData;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.exception.MultipleCrawlingAccessException;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClient.java

    import java.util.Map;
    
    import org.codelibs.fess.crawler.entity.RequestData;
    import org.codelibs.fess.crawler.entity.ResponseData;
    
    /**
     * @author shinsuke
     *
     */
    public interface CrawlerClient extends AutoCloseable {
    
        void setInitParameterMap(Map<String, Object> params);
    
        ResponseData execute(RequestData data);
    
        @Override
        default void close() throws Exception {
            // nothing
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.entity;
    
    /**
     * @author shinsuke
     *
     */
    public interface AccessResult<IDTYPE> {
        void init(ResponseData responseData, ResultData resultData);
    
        IDTYPE getId();
    
        void setId(IDTYPE id);
    
        String getSessionId();
    
        void setSessionId(String sessionId);
    
        String getRuleId();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top