Package com.helger.photon.app.resource
Class WebSiteResource
java.lang.Object
com.helger.photon.app.resource.WebSiteResource
A single web site resource. This class is only used internally in
WebSiteResourceCache.- Author:
- Philip Helger
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWebSiteResource(EWebSiteResourceType eResourceType, String sPath, Charset aCharset) -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.helger.commons.url.ISimpleURLgetAsURL(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope) final CharsetgetContent(boolean bRegular) byte[]final StringgetPath()final com.helger.commons.io.resource.IReadableResourcefinal EWebSiteResourceTypeinthashCode()booleantoString()
-
Field Details
-
DEFAULT_CHARSET
-
-
Constructor Details
-
WebSiteResource
-
-
Method Details
-
getResourceType
-
getPath
-
getResource
-
getCharset
-
getContent
-
isExisting
public boolean isExisting() -
getAsURLString
-
getContentHashBytes
-
getContentHashAsString
-
getAsURL
-
equals
-
hashCode
public int hashCode() -
toString
-