Package org.jgrapes.webconsole.base
Class ResourceNotModified
java.lang.Object
org.jgrapes.webconsole.base.ResourceResult
org.jgrapes.webconsole.base.ResourceNotModified
Indicates that a resource provider found the resource to be
unmodified.
-
Constructor Summary
ConstructorDescriptionResourceNotModified
(ResourceRequest request, Instant lastModifiedAt, int maxAge) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
process()
Send header only, because the resource does not have to be sent.Methods inherited from class org.jgrapes.webconsole.base.ResourceResult
request
-
Constructor Details
-
ResourceNotModified
Creates a new instance.- Parameters:
request
- the request
-
-
Method Details
-
process
Send header only, because the resource does not have to be sent.- Specified by:
process
in classResourceResult
- Throws:
IOException
InterruptedException
-