- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetExpires (0.09 sec)
-
src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java
} public void setVersionNo(final Long version) { asDocMeta().version(version); } public Date getExpires() { if (getExpiredTime() == null) { return null; } return new Date(getExpiredTime()); } public void setExpires(final Date date) { setExpiredTime(date != null ? date.getTime() : null); } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/postpolicyform_test.go
formValues.Set("X-Amz-Algorithm", tt.XAmzAlgorithm) formValues.Set("X-Amz-Credential", tt.XAmzCredential) if tt.Expired { // Expired already. pp.SetExpires(UTCNow().AddDate(0, 0, -10)) } else { // Expires in 10 days. pp.SetExpires(UTCNow().AddDate(0, 0, 10)) } formValues.Set("Policy", base64.StdEncoding.EncodeToString([]byte(pp.String())))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 8.9K bytes - Viewed (0)