public class HtmlGenerationConfig extends Object
Constructor and Description |
---|
HtmlGenerationConfig(Node htmlGenerationNode) |
Modifier and Type | Method and Description |
---|---|
int |
getConnecTimeout()
Returns the HTTP connect timeout.
|
int |
getExpirationLimit()
Returns the maximum number of web resource caches that can be expired in
a single render data changed event.
|
String |
getFrameworkUrl()
Returns the frameworkUrl used to generate html cache.
|
String |
getHtmlFileExtension()
Returns the extension used for html files.
|
int |
getPageRequestTimeout()
Returns the timeout, in milliseconds, for a cached page request.
|
String |
getShtmlFileExtension()
Returns the extension used for shtml files.
|
int |
getSsiWaitBeforeSendRedirect()
Returns the time to wait in milliseconds before sending a redirect
for a SSI page that was not found.
|
boolean |
isHtmlCacheLogNavigation()
Returns if the access to cached html files should cause collecting page view monitoring event data.
|
boolean |
isSsiSendRedirectOnPageNotFound()
Indicates if a send redirect should be used when a SSI page is not found,
instead of directly streaming the generated html.
|
public HtmlGenerationConfig(Node htmlGenerationNode) throws PortalException
PortalException
public boolean isHtmlCacheLogNavigation()
public String getFrameworkUrl()
public String getHtmlFileExtension()
public String getShtmlFileExtension()
public int getPageRequestTimeout()
public boolean isSsiSendRedirectOnPageNotFound()
public int getSsiWaitBeforeSendRedirect()
isSsiSendRedirectOnPageNotFound()
is true.public int getConnecTimeout()
URLConnection.setConnectTimeout(int)
public int getExpirationLimit()
The default value is 0
and represents a unlimited number of
web resource cache that can be expired.
PageRenderDataChangedEvent} and all classes that inherit it.
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.