Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for setStatus (0.06 sec)

  1. cmd/admin-bucket-handlers.go

    			rpt.SetStatus(bucket, fileName, nil)
    		case bucketPolicyConfig:
    			// Error out if Content-Length is beyond allowed size.
    			if sz > maxBucketPolicySize {
    				rpt.SetStatus(bucket, fileName, errors.New(ErrPolicyTooLarge.String()))
    				continue
    			}
    
    			bucketPolicyBytes, err := io.ReadAll(io.LimitReader(reader, sz))
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

        public void addExcludeFilter(final String regexp) {
            if (StringUtil.isNotBlank(regexp)) {
                urlFilter.addExclude(regexp);
            }
        }
    
        public void stop() {
            crawlerContext.setStatus(CrawlerStatus.DONE);
            try {
                if (crawlerThreadGroup != null) {
                    crawlerThreadGroup.interrupt();
                }
            } catch (final Exception e) {
                // ignore
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

        void setRuleId(String ruleId);
    
        String getUrl();
    
        void setUrl(String url);
    
        String getParentUrl();
    
        void setParentUrl(String parentUrl);
    
        Integer getStatus();
    
        void setStatus(Integer status);
    
        Integer getHttpStatusCode();
    
        void setHttpStatusCode(Integer httpStatusCode);
    
        String getMethod();
    
        void setMethod(String method);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            accessResult1.setMimeType("text/plain");
            accessResult1.setParentUrl("http://www.parent.com/");
            accessResult1.setRuleId("htmlRule");
            accessResult1.setSessionId("id1");
            accessResult1.setStatus(200);
            accessResult1.setUrl("http://www.id1.com/");
    
            dataService.store(accessResult1);
    
            final OpenSearchAccessResult accessResult2 = dataService.getAccessResult("id1", "http://www.id1.com/");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

            return accessCount.incrementAndGet();
        }
    
        public long decrementAndGetAccessCount() {
            return accessCount.decrementAndGet();
        }
    
        public CrawlerStatus getStatus() {
            return status;
        }
    
        public void setStatus(final CrawlerStatus status) {
            this.status = status;
        }
    
        public UrlFilter getUrlFilter() {
            return urlFilter;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#getStatus()
         */
        @Override
        public Integer getStatus() {
            return status;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#setStatus(java.lang.Integer)
         */
        @Override
        public void setStatus(final Integer status) {
            this.status = status;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    }
                }
            }).execute()) {
    
                try (ServletOutputStream out = response.getOutputStream(); InputStream in = curlResponse.getContentAsStream()) {
                    response.setStatus(curlResponse.getHttpStatusCode());
                    writeHeaders(response);
                    final String responseContentType = curlResponse.getHeaderValue("Content-Type");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            return lastModified;
        }
    
        public void setLastModified(final Date lastModified) {
            this.lastModified = lastModified;
        }
    
        public int getStatus() {
            return status;
        }
    
        public void setStatus(final int status) {
            this.status = status;
        }
    
        public void setNoFollow(final boolean value) {
            noFollow = value;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                    if (OPTIONS.equals(httpRequest.getMethod())) {
                        final HttpServletResponse httpResponse = (HttpServletResponse) response;
                        httpResponse.setStatus(HttpServletResponse.SC_ACCEPTED);
                        return;
                    }
                } else if (logger.isDebugEnabled()) {
                    logger.debug("No CorsHandler for {}", origin);
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

            accessResult1.setMimeType("text/plain");
            accessResult1.setParentUrl("http://www.parent.com/");
            accessResult1.setRuleId("htmlRule");
            accessResult1.setSessionId("id1");
            accessResult1.setStatus(200);
            accessResult1.setUrl("http://www.id1.com/");
    
            dataService.store(accessResult1);
    
            final AccessResult accessResult2 = dataService.getAccessResult("id1", "http://www.id1.com/");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top