public interface HstComponentInfo
HstComponentConfiguration
.
Basic information interface for component configuration.
HstComponentConfiguration
Modifier and Type | Method and Description |
---|---|
String |
getAsyncMode()
Optional mode parameter to determine which technology should used for rendering asynchronous component.
|
String |
getComponentClassName() |
String |
getId()
Returns the id for this component configuration.
|
String |
getName()
Return the name of this component configuration.
|
boolean |
isAsync()
Rendering asynchronous is very useful for hst components that are uncacheable, depend on external services, or take long to render.
|
boolean |
isCompositeCacheable() |
boolean |
isStandalone() |
boolean |
isSuppressWasteMessage()
When the
HstComponentWindow#getResponseState() of this HstComponentInfo is not flushed
by its parent rendering, a warning message about possible waste detection can be logged. |
String getId()
HstComponentsConfiguration
,
or null
if it is not needed to be directly accessed by the
HstComponentsConfiguration
through HstComponentsConfiguration.getComponentConfiguration(String)
.
Every HstComponentConfiguration
that can be referred to from within a
HstSiteMapItem
must have an id.null
if no id setString getName()
HstComponent
instance.String getComponentClassName()
HstComponent
interfaceboolean isStandalone()
true
when this HstComponentConfiguration
is configured to be rendered standalone in case of HstURL.COMPONENT_RENDERING_TYPE
boolean isAsync()
true
when this HstComponentConfiguration
is configured to be rendered asynchronous.String getAsyncMode()
boolean isCompositeCacheable()
true
if rendering / resource requests can have their entire page http responses cached. Note that
a HstComponentConfiguration
by default is cacheable unless configured not to be cacheable. A HstComponentConfiguration
is only cacheable if and only if all its descendant HstComponentConfiguration
s for the request are cacheable : Note
explicitly for 'the request', thus HstComponentConfiguration
that are isAsync()
and its descendants can be uncacheable while an ancestor HstComponentConfiguration
can stay cacheableboolean isSuppressWasteMessage()
HstComponentWindow#getResponseState()
of this HstComponentInfo
is not flushed
by its parent rendering, a warning message about possible waste detection can be logged. If you want to
suppress this message, isSuppressWasteMessage()
should return true
true
when possible waste messages about this component should be suppressedCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.