Package net.officefloor.web.resource
Interface HttpResourceStore
- All Known Implementing Classes:
HttpResourceStoreImpl
public interface HttpResourceStore
Store of
HttpResource instances.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultHttpFile(HttpDirectory directory) Obtains the defaultHttpFilefor theHttpDirectory.getHttpResource(String path) Obtains theHttpResource.
-
Method Details
-
getHttpResource
Obtains theHttpResource.- Parameters:
path- Path to theHttpResource.- Returns:
HttpResource.- Throws:
IOException- If failure in finding theHttpResource.
-
getDefaultHttpFile
Obtains the defaultHttpFilefor theHttpDirectory.- Parameters:
directory-HttpDirectory.- Returns:
HttpFilefor theHttpDirectoryornullif no defaultHttpFile.- Throws:
IOException- If failure in obtaining defaultHttpFile.
-