Package org.jgrapes.webconsole.base
Class ResourceResult
java.lang.Object
org.jgrapes.webconsole.base.ResourceResult
- Direct Known Subclasses:
ResourceByInputStream
,ResourceByProducer
,ResourceByUrl
,ResourceNotModified
,ResourceProvided
The base class for all results from processing a resource
request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
process()
Specifies hoe the provided resource is processed.protected ResourceRequest
request()
-
Constructor Details
-
ResourceResult
Instantiates a new resource result.- Parameters:
request
- the request
-
-
Method Details
-
request
-
process
Specifies hoe the provided resource is processed.- Throws:
IOException
InterruptedException
-