Class SendCachedHttpFileFunction
- java.lang.Object
-
- net.officefloor.frame.api.function.StaticManagedFunction<AbstractSendHttpFileFunction.Dependencies,AbstractSendHttpFileFunction.Flows>
-
- net.officefloor.web.resource.source.AbstractSendHttpFileFunction<HttpResourceCache>
-
- net.officefloor.web.resource.source.SendCachedHttpFileFunction
-
- All Implemented Interfaces:
ManagedFunction<AbstractSendHttpFileFunction.Dependencies,AbstractSendHttpFileFunction.Flows>
,ManagedFunctionFactory<AbstractSendHttpFileFunction.Dependencies,AbstractSendHttpFileFunction.Flows>
public class SendCachedHttpFileFunction extends AbstractSendHttpFileFunction<HttpResourceCache>
- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.web.resource.source.AbstractSendHttpFileFunction
AbstractSendHttpFileFunction.Dependencies, AbstractSendHttpFileFunction.Flows
-
-
Constructor Summary
Constructors Constructor Description SendCachedHttpFileFunction(java.lang.String contextPath)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HttpResource
getHttpResource(HttpResourceCache resources, java.lang.String resourcePath)
Obtains theHttpResource
.-
Methods inherited from class net.officefloor.web.resource.source.AbstractSendHttpFileFunction
execute
-
Methods inherited from class net.officefloor.frame.api.function.StaticManagedFunction
createManagedFunction
-
-
-
-
Method Detail
-
getHttpResource
protected HttpResource getHttpResource(HttpResourceCache resources, java.lang.String resourcePath) throws java.io.IOException
Description copied from class:AbstractSendHttpFileFunction
Obtains theHttpResource
.- Specified by:
getHttpResource
in classAbstractSendHttpFileFunction<HttpResourceCache>
- Parameters:
resources
- Resources.resourcePath
- Path to theHttpResource
.- Returns:
HttpResource
.- Throws:
java.io.IOException
- If fails to obtain theHttpResource
.
-
-