Interface IPresentationHandler
- All Superinterfaces:
IComponent
,IHandler
,IInitializable
,ISystemHandler
The
IComponent
for the IPresentationManager
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether therender(com.webmethods.portal.framework.presentation.IPresentationData)
method can return not null Reader.void
handle
(HttpServletRequest request, HttpServletResponse response) Handles the presentation concepts of the request.render
(IPresentationData pdo) Renders the resource specified by the presentation data object.render
(IPresentationData pdo, boolean grabOutput) Renders the resource specified by the presentation data object.Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.framework.IHandler
getConfigElem, getHandlerBean, getName, getPerfToken, initialize, postInitialize, shutdown
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init
-
Method Details
-
handle
Handles the presentation concepts of the request. Please note, their should be aPresentationData
available with the request.- Parameters:
request
- the HttpServletRequest for this sessionresponse
- the HttpServletResponse for this session- Throws:
FrameworkException
- See Also:
-
render
Renders the resource specified by the presentation data object.- Parameters:
pdo
- The presentation data object that contains information used by the rendering process.- Returns:
- A reader containing the rendered bits. Never null.
- Throws:
FrameworkException
-
render
Renders the resource specified by the presentation data object.- Parameters:
pdo
- The presentation data object that contains information used by the rendering process.- Returns:
- always NULL if grabOutput is false, otherwise never NULL
- Throws:
FrameworkException
-
canReturnContent
Returns whether therender(com.webmethods.portal.framework.presentation.IPresentationData)
method can return not null Reader.- Returns:
- true if the
render(com.webmethods.portal.framework.presentation.IPresentationData)
method can return not null Reader - Throws:
FrameworkException
-