public class RenderPageAdapter extends WraRenderPage
This an adapter so that Controllers and Actions can call the RenderPage logic. The RenderPage logic dispatches the request to the correct asset/template combination based on the path field for a Web Referenceable Asset.
Modifier and Type | Field and Description |
---|---|
static String |
STATUS_HEADER |
aliasCoreFieldDao, pathTranslationService, URL_PATH, VIRTUAL_WEBROOT, wraCoreFieldDao
CALLTEMPLATE_EXCLUDE_VARS, ics, LOG, PACKEDARGS
Constructor and Description |
---|
RenderPageAdapter(COM.FutureTense.Interfaces.ICS ics) |
RenderPageAdapter(COM.FutureTense.Interfaces.ICS ics,
WraPathTranslationService pathTranslationService,
WraCoreFieldDao wraCoreFieldDao,
AliasCoreFieldDao aliasCoreFieldDao) |
Modifier and Type | Method and Description |
---|---|
void |
doExecute() |
protected void |
handleCSRuntimeException(CSRuntimeException e)
This method transforms errno values into http status codes and sets them
using the X-Fatwire-Status header.
|
protected void |
handleException(Exception e) |
protected void |
renderErrorPage(int code,
Exception e)
Renders the error page.
|
protected String |
sendError(int code,
Exception e) |
findAndSetP, getWraAndResolveAlias, renderPage, resolveAssetId
callPage, callTemplate, getCallTemplateArguments, getCallTemplateCallStyle, imposeCallTemplateStyle, massagePackedArgs, recordCompositionalDependencies, unpackPackedArgs
public static final String STATUS_HEADER
public RenderPageAdapter(COM.FutureTense.Interfaces.ICS ics)
public RenderPageAdapter(COM.FutureTense.Interfaces.ICS ics, WraPathTranslationService pathTranslationService, WraCoreFieldDao wraCoreFieldDao, AliasCoreFieldDao aliasCoreFieldDao)
public void doExecute()
protected void handleException(Exception e)
protected void renderErrorPage(int code, Exception e)
code
- e
- protected void handleCSRuntimeException(CSRuntimeException e)
e
- exceptionCopyright © 2010-2016 Oracle Corporation. All Rights Reserved.