Package net.officefloor.web.resource
Interface HttpResourceStore
-
- All Known Implementing Classes:
HttpResourceStoreImpl
public interface HttpResourceStoreStore ofHttpResourceinstances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpFilegetDefaultHttpFile(HttpDirectory directory)Obtains the defaultHttpFilefor theHttpDirectory.HttpResourcegetHttpResource(java.lang.String path)Obtains theHttpResource.
-
-
-
Method Detail
-
getHttpResource
HttpResource getHttpResource(java.lang.String path) throws java.io.IOException
Obtains theHttpResource.- Parameters:
path- Path to theHttpResource.- Returns:
HttpResource.- Throws:
java.io.IOException- If failure in finding theHttpResource.
-
getDefaultHttpFile
HttpFile getDefaultHttpFile(HttpDirectory directory) throws java.io.IOException
Obtains the defaultHttpFilefor theHttpDirectory.- Parameters:
directory-HttpDirectory.- Returns:
HttpFilefor theHttpDirectoryornullif no defaultHttpFile.- Throws:
java.io.IOException- If failure in obtaining defaultHttpFile.
-
-