Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setContentLength (0.12 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java

            responseData.setContentLength(-1);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000L);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000L);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000000L);
            client.checkMaxContentLength(responseData);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

        AccessResultData<IDTYPE> getAccessResultData();
    
        void setAccessResultData(AccessResultData<IDTYPE> accessResultData);
    
        Long getContentLength();
    
        void setContentLength(Long contentLength);
    
        Long getLastModified();
    
        void setLastModified(Long lastModified);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            // delete all files
            runner.clean();
        }
    
        public void test_insert_deleteTx() {
            final OpenSearchAccessResult accessResult1 = new OpenSearchAccessResult();
            accessResult1.setContentLength(Long.valueOf(10));
            accessResult1.setCreateTime(System.currentTimeMillis());
            accessResult1.setExecutionTime(10);
            accessResult1.setHttpStatusCode(200);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

            Resource resource = inputData.getResource();
    
            String content = expectedContent.get(resource.getName());
    
            if (content != null) {
                resource.setContentLength(content.length());
                resource.setLastModified(System.currentTimeMillis());
    
                inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)));
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmSsp.java

                }
            }
            else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            resp.setContentLength(0);
            resp.flushBuffer();
            return null;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        public void setCharSet(final String charSet) {
            this.charSet = charSet;
        }
    
        public long getContentLength() {
            return contentLength;
        }
    
        public void setContentLength(final long contentLength) {
            this.contentLength = contentLength;
        }
    
        public String getMimeType() {
            return mimeType;
        }
    
        public void setMimeType(final String contentType) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

            dataService = container.getComponent("dataService");
        }
    
        public void test_insert_deleteTx() {
            final AccessResult accessResult1 = new AccessResultImpl();
            accessResult1.setContentLength(Long.valueOf(10));
            accessResult1.setCreateTime(System.currentTimeMillis());
            accessResult1.setExecutionTime(10);
            accessResult1.setHttpStatusCode(200);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

                    },
                    true));
            TransferResource resource =
                    new TransferResource(null, null, "http://maven.org/test/test-resource", new File(""), null);
            resource.setContentLength(size - 1);
    
            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
    
            // warm up
            test(listener, session, resource, 0);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmSsp.java

                }
            } else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            resp.setContentLength(0);
            resp.flushBuffer();
            return null;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        target.setUrl(getFieldValue(fields.get("url"), String.class));
                        target.setExecutionTime(getFieldValue(fields.get("executionTime"), Integer.class));
                        target.setContentLength(getFieldValue(fields.get("contentLength"), Long.class));
                        target.setRuleId(getFieldValue(fields.get("ruleId"), String.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)
Back to top