Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for RequestData (0.11 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

            if (this == obj) {
                return true;
            }
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
            final RequestData other = (RequestData) obj;
            if (!Objects.equals(metaData, other.metaData) || method != other.method || !Objects.equals(url, other.url)) {
                return false;
            }
            return true;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        public void addChildUrl(final RequestData url) {
            childUrlSet.add(url);
        }
    
        public void removeChildUrl(final RequestData url) {
            childUrlSet.remove(url);
        }
    
        public Set<RequestData> getChildUrlSet() {
            return childUrlSet;
        }
    
        public RequestData getRequestData() {
            final RequestData requestData = new RequestData();
            requestData.setMethod(method);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

        private String encoding;
    
        private Set<RequestData> childUrlSet = new LinkedHashSet<>();
    
        public byte[] getData() {
            return data;
        }
    
        public void setData(final byte[] data) {
            this.data = data;
        }
    
        public void addUrl(final RequestData url) {
            childUrlSet.add(url);
        }
    
        public void addAllUrl(final Collection<RequestData> c) {
            if (c != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
            return null;
        }
    
        protected RequestData getDuplicateUrl(final RequestData requestData) {
            final String url = requestData.getUrl();
            if (url.endsWith("/")) {
                requestData.setUrl(url.substring(0, url.length() - 1));
            } else {
                requestData.setUrl(url + "/");
            }
            return requestData;
        }
    
        protected DOMParser getDomParser() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

            final UrlQueue<?> urlQueue = (UrlQueue<?>) objs[1];
            @SuppressWarnings("unchecked")
            final Set<RequestData> requestDataSet = (Set<RequestData>) objs[2];
            if (logger.isDebugEnabled()) {
                for (final RequestData requestData : requestDataSet) {
                    logger.debug("Child URL: {} from {}", requestData.getUrl(), urlQueue.getUrl());
                }
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                fail();
            } catch (final ChildUrlsException e) {
                final Set<RequestData> urlSet = e.getChildUrlList();
                assertEquals(5, urlSet.size());
                for (final RequestData requestData : urlSet.toArray(new RequestData[urlSet.size()])) {
                    String url = requestData.getUrl();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.builder;
    
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.RequestData;
    import org.codelibs.fess.crawler.entity.RequestData.Method;
    
    /**
     * Builder class to create a request.
     *
     * @author shinsuke
     *
     */
    public final class RequestDataBuilder {
        private RequestDataBuilder() {
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

            void onRequestStart(FaultTolerantClient client, RequestData request);
    
            void onRequest(FaultTolerantClient client, RequestData request, int count);
    
            void onRequestEnd(FaultTolerantClient client, RequestData request, List<Exception> exceptionList);
    
            void onException(FaultTolerantClient client, RequestData request, int count, Exception e);
    
        }
    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/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                fsClient.doGet("file://" + path);
                fail();
            } catch (final ChildUrlsException e) {
                final Set<RequestData> urlSet = e.getChildUrlList();
                for (final RequestData requestData : urlSet.toArray(new RequestData[urlSet.size()])) {
                    String url = requestData.getUrl();
                    if (url.indexOf(".svn") < 0) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ChildUrlsException.java

    import org.codelibs.fess.crawler.entity.RequestData;
    
    /**
     * ChildUrlsException is thrown when having child urls.
     *
     * @author shinsuke
     *
     */
    public class ChildUrlsException extends CrawlerSystemException {
    
        private static final long serialVersionUID = 1L;
    
        private final Set<RequestData> childUrlList;
    
        public ChildUrlsException(final Set<RequestData> childUrlList, final String description) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top