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
ConstructorsConstructorDescriptionResourceByUrl(ResourceRequest request, URL resourceUrl) Instantiates a new result represented by aURL. -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess()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:ResourceResultSpecifies hoe the provided resource is processed.- Specified by:
processin classResourceResult- Throws:
IOExceptionInterruptedException
-