Package org.jgrapes.webconsole.base
Class ResourceByUrl
java.lang.Object
org.jgrapes.webconsole.base.ResourceResult
org.jgrapes.webconsole.base.ResourceByUrl
Returns a
URL
as result.The result will be processed by checking if the resource needs to be sent and, if this is the case, sending it.
-
Constructor Summary
ConstructorDescriptionResourceByUrl
(ResourceRequest request, URL resourceUrl) Instantiates a new result represented by aURL
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
process()
Specifies hoe the provided resource is processed.Methods inherited from class org.jgrapes.webconsole.base.ResourceResult
request
-
Constructor Details
-
ResourceByUrl
Instantiates a new result represented by aURL
.- Parameters:
request
- the requestresourceUrl
- the resource url
-
-
Method Details
-
process
Description copied from class:ResourceResult
Specifies hoe the provided resource is processed.- Specified by:
process
in classResourceResult
- Throws:
IOException
InterruptedException
-