Package | Description |
---|---|
org.hippoecm.hst.component.support | |
org.hippoecm.hst.component.support.bean | |
org.hippoecm.hst.component.support.spring | |
org.hippoecm.hst.core.component |
The org.hippoecm.hst.core.component package defines the API for the HST Core Component
|
org.hippoecm.hst.mock.core.request | |
org.hippoecm.hst.utils |
Modifier and Type | Method and Description |
---|---|
void |
SimpleDispatcherHstComponent.init(javax.servlet.ServletContext servletContext,
ComponentConfiguration componentConfig) |
Modifier and Type | Method and Description |
---|---|
void |
BaseHstComponent.init(javax.servlet.ServletContext servletContext,
ComponentConfiguration componentConfig) |
Modifier and Type | Method and Description |
---|---|
void |
SpringBridgeHstComponent.init(javax.servlet.ServletContext servletContext,
ComponentConfiguration componentConfig) |
Modifier and Type | Method and Description |
---|---|
ComponentConfiguration |
GenericHstComponent.getComponentConfiguration() |
default ComponentConfiguration |
HstComponent.getComponentConfiguration()
Returns the ComponentConfiguration for this component or
null
if not implemented by a subclass |
Modifier and Type | Method and Description |
---|---|
protected InvocationHandler |
HstParameterInfoProxyFactoryImpl.createHstParameterInfoInvocationHandler(ComponentConfiguration componentConfig,
HstRequest request,
HstParameterValueConverter converter,
Class<?> parametersInfoType)
Override this method if a custom parameterInfoHandler is needed
|
<T> T |
HstParameterInfoProxyFactory.createParameterInfoProxy(ParametersInfo parametersInfo,
ComponentConfiguration componentConfig,
HstRequest request,
HstParameterValueConverter converter)
Returns a proxy instance of the interface T.
|
<T> T |
HstParameterInfoProxyFactoryImpl.createParameterInfoProxy(ParametersInfo parametersInfo,
ComponentConfiguration componentConfig,
HstRequest request,
HstParameterValueConverter converter) |
protected String |
HstParameterInfoProxyFactoryImpl.ParameterInfoInvocationHandler.getPrefixedParameterName(String parameterName,
ComponentConfiguration config,
HstRequest req)
This method can be overridden by subclasses of the
HstParameterInfoProxyFactoryImpl.ParameterInfoInvocationHandler to return
a prefixed value |
void |
GenericHstComponent.init(javax.servlet.ServletContext servletContext,
ComponentConfiguration componentConfig) |
void |
HstComponent.init(javax.servlet.ServletContext servletContext,
ComponentConfiguration componentConfig)
Allows the component to initialize itself
|
Constructor and Description |
---|
ParameterInfoInvocationHandler(ComponentConfiguration componentConfig,
HstRequest request,
HstParameterValueConverter converter,
Class<?> parametersInfoType) |
Modifier and Type | Class and Description |
---|---|
class |
MockComponentConfiguration
Mock implementation of {@link org.hippoecm.hst.core.request.ComponentConfiguration for testing purposes.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
ParameterUtils.getParametersInfo(HstComponent component,
ComponentConfiguration componentConfig,
HstRequest request)
Returns a proxy ParametersInfo object for the component class which resolves parameter from
HstComponentConfiguration : resolved means that possible property placeholders like ${1} or ${year}, where the
first refers to the first wildcard matcher in a resolved sitemap item, and the latter to a resolved parameter in
the resolved HstSiteMapItem
NOTE: Because the returned ParametersInfo proxy instance is bound to the current request, you MUST NOT store
the returned object in a member variable or session.
|
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.