- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for getLastModified (1.17 sec)
-
platforms/software/resources/src/main/java/org/gradle/internal/resource/metadata/ExternalResourceMetaDataCompare.java
if (local == null) { return false; } String localEtag = local.getEtag(); Date localLastModified = local.getLastModified(); if (localEtag == null && localLastModified == null) { return false; } long localContentLength = local.getContentLength();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/DefaultCachedExternalResourceIndex.java
if (metaData != null) { encoder.writeString(metaData.getLocation().toASCIIString()); encoder.writeBoolean(metaData.getLastModified() != null); if (metaData.getLastModified() != null) { encoder.writeLong(metaData.getLastModified().getTime()); } encoder.writeNullableString(metaData.getContentType());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
path = "/" + path.replace('\\', '/'); } final ResponseData responseData = fsClient.doHead("file:" + path); assertNotNull(responseData.getLastModified()); assertTrue(responseData.getLastModified().getTime() < new Date().getTime()); assertNull(responseData.getResponseBody()); } public void test_doHead_dir() throws Exception {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/ZipCopyActionTest.groovy
}) } private FileCopyDetailsInternal file(final String path) { def mock = Mock(FileCopyDetailsInternal) mock.getRelativePath() >> RelativePath.parse(false, path) mock.getLastModified() >> 1000L mock.isDirectory() >> false mock.getPermissions() >> new DefaultFilePermissions(1) mock.copyTo(_ as OutputStream) >> { OutputStream out -> out << "contents of $path"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 14:26:33 UTC 2023 - 6.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarCopyActionSpec.groovy
final FileCopyDetailsInternal details = Stub(FileCopyDetailsInternal) details.getRelativePath() >> RelativePath.parse(true, path) details.getLastModified() >> 1000L details.getSize() >> content.getBytes().length details.isDirectory() >> false details.getPermissions() >> new DefaultFilePermissions(1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 14:26:33 UTC 2023 - 6.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
responseData = client.execute(RequestDataBuilder.newRequestData().head().url(urlQueue.getUrl()).build()); if (responseData != null && responseData.getLastModified() != null && responseData.getLastModified().getTime() <= urlQueue.getLastModified().longValue() && responseData.getHttpStatusCode() == 200) { log(logHelper, LogType.NOT_MODIFIED, crawlerContext, urlQueue);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 15.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java
this.createTime = createTime; } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.entity.UrlQueue#getLastModified() */ @Override public Long getLastModified() { return lastModified; } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.entity.UrlQueue#setLastModified(java.sql.Long)
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
return null; } } @Override public long getDate() { return getLastModified(); } @Override public long getLastModified() { if (minioClient == null) { return 0; } try { return getStatObject().lastModified().toEpochSecond();
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/transfer/UrlExternalResource.java
URL url = location.getUri().toURL(); URLConnection connection = url.openConnection(); try { return new DefaultExternalResourceMetaData(location.getUri(), connection.getLastModified(), connection.getContentLength(), connection.getContentType(), null, null); } finally { connection.getInputStream().close(); } } catch (FileNotFoundException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/metadata/ExternalResourceMetaDataCompareTest.groovy
interaction { 1 * metaData.getEtag() >> etag 1 * metaData.getLastModified() >> lastModified if (lastModified != null || etag != null) { 1 * metaData.getContentLength() >> contentLength } else { 0 * metaData.getContentLength()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.4K bytes - Viewed (0)