Uses of Class
org.hippoecm.hst.core.component.HstComponentException
Package
Description
The org.hippoecm.hst.core.component package defines the API for the HST Core Component
The org.hippoecm.hst.core.container package defines the API for the HST Core Container
-
Uses of HstComponentException in org.hippoecm.hst.core.component
Modifier and TypeClassDescriptionclass
TheHstComponentFatalException
can be thrown to break out of the HST2 request handling.Modifier and TypeMethodDescriptionvoid
GenericHstComponent.destroy()
void
HstComponent.destroy()
Allows the component to destroy itselfvoid
GenericHstComponent.doAction
(HstRequest request, HstResponse response) void
HstComponent.doAction
(HstRequest request, HstResponse response) Allows the component to process actionsvoid
GenericHstComponent.doBeforeRender
(HstRequest request, HstResponse response) void
HstComponent.doBeforeRender
(HstRequest request, HstResponse response) Allows the component to do some business logic processing before renderingvoid
GenericHstComponent.doBeforeServeResource
(HstRequest request, HstResponse response) void
HstComponent.doBeforeServeResource
(HstRequest request, HstResponse response) Allows the component to do some business logic processing before serving resourcevoid
GenericHstComponent.init
(jakarta.servlet.ServletContext servletContext, ComponentConfiguration componentConfig) void
HstComponent.init
(jakarta.servlet.ServletContext servletContext, ComponentConfiguration componentConfig) Allows the component to initialize itselfdefault void
HstComponent.prepareBeforeRender
(HstRequest request, HstResponse response) This method is invoked beforeHstComponent.doBeforeRender(HstRequest, HstResponse)
method to give an HstComponent a chance to prepare any business service invocation(s). -
Uses of HstComponentException in org.hippoecm.hst.core.container
Modifier and TypeMethodDescriptionPageErrors.getAllComponentExceptions()
Returns all component exceptions.HstComponentWindow.getComponentExceptions()
The component exceptions during initialization or runtime.PageErrors.getComponentExceptions
(HstComponentInfo componentInfo) Returns collection ofHstComponentException
caused by the specific component.Modifier and TypeMethodDescriptionvoid
HstComponentWindow.addComponentExcpetion
(HstComponentException e) Adds a component exceptions during initialization or runtime.Modifier and TypeMethodDescriptionHstComponentWindowFactory.create
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory) Creates aHstComponentWindow
instance.HstComponentWindowFactory.create
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory, HstComponentWindow parentWindow) Creates aHstComponentWindow
instance as a child window of the parentWindow.HstComponentWindowFilter.doFilter
(HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentWindow window) HstComponentFactory.getComponentInstance
(HstContainerConfig requestContainerConfig, HstComponentConfiguration compConfig, Mount mount) Returns the HstComponent instance from the HstComponent context.HstComponentFactory.getComponentMetadata
(HstContainerConfig requestContainerConfig, HstComponentConfiguration compConfig, Mount mount) Returns the metadata of the HstComponent from the HstComponent context.<T> T
HstComponentFactory.getObjectInstance
(HstContainerConfig requestContainerConfig, String className) Returns arbitrary object instance from the HstComponent context.