Class AbstractHttpResource
java.lang.Object
net.officefloor.web.resource.impl.AbstractHttpResource
- All Implemented Interfaces:
Closeable,AutoCloseable,HttpResource
- Direct Known Subclasses:
HttpDirectoryImpl,HttpFileImpl,NotExistHttpResource
Abstract
HttpResource.- Author:
- Daniel Sagenschneider
-
Field Details
-
path
Path.
-
-
Constructor Details
-
AbstractHttpResource
Initiate.- Parameters:
path- Resource path.
-
-
Method Details
-
getPath
Description copied from interface:HttpResourceObtains the path to this
HttpResource.The path is canonical to allow using it as a key for caching this
HttpResource.- Specified by:
getPathin interfaceHttpResource- Returns:
- Canonical path to this
HttpResource.
-
equals
-
hashCode
public int hashCode()
-