Class SendStoreHttpFileFunction
- java.lang.Object
-
- net.officefloor.frame.api.function.StaticManagedFunction<AbstractSendHttpFileFunction.Dependencies,AbstractSendHttpFileFunction.Flows>
-
- net.officefloor.web.resource.source.AbstractSendHttpFileFunction<HttpResourceStore>
-
- net.officefloor.web.resource.source.SendStoreHttpFileFunction
-
- All Implemented Interfaces:
ManagedFunction<AbstractSendHttpFileFunction.Dependencies,AbstractSendHttpFileFunction.Flows>
,ManagedFunctionFactory<AbstractSendHttpFileFunction.Dependencies,AbstractSendHttpFileFunction.Flows>
public class SendStoreHttpFileFunction extends AbstractSendHttpFileFunction<HttpResourceStore>
- 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 SendStoreHttpFileFunction(java.lang.String contextPath)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HttpResource
getHttpResource(HttpResourceStore 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(HttpResourceStore resources, java.lang.String resourcePath) throws java.io.IOException
Description copied from class:AbstractSendHttpFileFunction
Obtains theHttpResource
.- Specified by:
getHttpResource
in classAbstractSendHttpFileFunction<HttpResourceStore>
- Parameters:
resources
- Resources.resourcePath
- Path to theHttpResource
.- Returns:
HttpResource
.- Throws:
java.io.IOException
- If fails to obtain theHttpResource
.
-
-