@Immutable public class WebSiteResource extends Object
WebSiteResourceCache.| Modifier and Type | Field and Description |
|---|---|
static Charset |
DEFAULT_CHARSET |
| Constructor and Description |
|---|
WebSiteResource(EWebSiteResourceType eResourceType,
String sPath,
Charset aCharset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.helger.commons.url.ISimpleURL |
getAsURL(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope) |
String |
getAsURLString() |
Charset |
getCharset() |
String |
getContent(boolean bRegular) |
String |
getContentHashAsString() |
byte[] |
getContentHashBytes() |
String |
getPath() |
com.helger.commons.io.resource.IReadableResource |
getResource() |
EWebSiteResourceType |
getResourceType() |
int |
hashCode() |
boolean |
isExisting() |
String |
toString() |
public static final Charset DEFAULT_CHARSET
@Nonnull public final EWebSiteResourceType getResourceType()
@Nonnull public final com.helger.commons.io.resource.IReadableResource getResource()
public boolean isExisting()
@Nonnull @ReturnsMutableCopy public byte[] getContentHashBytes()
@Nonnull public com.helger.commons.url.ISimpleURL getAsURL(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope)
Copyright © 2014–2023 Philip Helger. All rights reserved.