Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for setStatus (0.1 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-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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                        if (Constants.TRUE.equalsIgnoreCase(infoMap.get(Constants.CRAWLER_STATUS))) {
                            postcard.setStatus(Constants.OK);
                        } else {
                            postcard.setStatus(Constants.FAIL);
                        }
                        postcard.setJobname(systemProperties.getProperty("job.runtime.name", StringUtil.EMPTY));
                    });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        target.setRuleId(getFieldValue(fields.get("ruleId"), String.class));
                        target.setHttpStatusCode(getFieldValue(fields.get("httpStatusCode"), Integer.class));
                        target.setStatus(getFieldValue(fields.get("status"), Integer.class));
                        target.setCreateTime(getFieldValue(fields.get("createTime"), Long.class));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                        responseData.setParentUrl(urlQueue.getParentUrl());
                        responseData.setSessionId(crawlerContext.sessionId);
                        responseData.setStatus(Constants.NOT_MODIFIED_STATUS);
                        responseData.setHttpStatusCode(Constants.NOT_MODIFIED_STATUS_CODE);
                        processResponse(urlQueue, responseData);
    
                        return false;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    	for _, disk := range si.Disks {
    		setIdx := fmt.Sprintf("%d-%d", disk.PoolIndex, disk.SetIndex)
    		indexed[setIdx] = append(indexed[setIdx], disk)
    	}
    
    	for id, disks := range indexed {
    		ss := madmin.SetStatus{
    			ID:        id,
    			SetIndex:  disks[0].SetIndex,
    			PoolIndex: disks[0].PoolIndex,
    		}
    		for _, disk := range disks {
    			ss.Disks = append(ss.Disks, disk)
    			if disk.Healing {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            for (final EsAccessResult accessResult : arList) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Indexing {}", accessResult.getUrl());
                }
                accessResult.setStatus(Constants.DONE_STATUS);
                accessResultList.add(accessResult);
    
                if (accessResult.getHttpStatusCode() != 200) {
                    // invalid page
                    if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top