Be explicit about the time unit in WebRequest
This commit adds the timeunit to the interface documentation of WebRequest.checkNotModified().
This commit is contained in:
parent
7ae44c2565
commit
160410c148
|
|
@ -153,8 +153,9 @@ public interface WebRequest extends RequestAttributes {
|
||||||
* <p>If the "If-Modified-Since" header is set but cannot be parsed
|
* <p>If the "If-Modified-Since" header is set but cannot be parsed
|
||||||
* to a date value, this method will ignore the header and proceed
|
* to a date value, this method will ignore the header and proceed
|
||||||
* with setting the last-modified timestamp on the response.
|
* with setting the last-modified timestamp on the response.
|
||||||
* @param lastModifiedTimestamp the last-modified timestamp that
|
* @param lastModifiedTimestamp the last-modified timestamp in
|
||||||
* the application determined for the underlying resource
|
* milliseconds that the application determined for the underlying
|
||||||
|
* resource
|
||||||
* @return whether the request qualifies as not modified,
|
* @return whether the request qualifies as not modified,
|
||||||
* allowing to abort request processing and relying on the response
|
* allowing to abort request processing and relying on the response
|
||||||
* telling the client that the content has not been modified
|
* telling the client that the content has not been modified
|
||||||
|
|
@ -219,8 +220,9 @@ public interface WebRequest extends RequestAttributes {
|
||||||
* @param etag the entity tag that the application determined
|
* @param etag the entity tag that the application determined
|
||||||
* for the underlying resource. This parameter will be padded
|
* for the underlying resource. This parameter will be padded
|
||||||
* with quotes (") if necessary.
|
* with quotes (") if necessary.
|
||||||
* @param lastModifiedTimestamp the last-modified timestamp that
|
* @param lastModifiedTimestamp the last-modified timestamp in
|
||||||
* the application determined for the underlying resource
|
* milliseconds that the application determined for the underlying
|
||||||
|
* resource
|
||||||
* @return true if the request does not require further processing.
|
* @return true if the request does not require further processing.
|
||||||
* @since 4.2
|
* @since 4.2
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue