public class InvokeAssembler extends DynamoServlet
This droplet can be called from a page like so:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static ParameterName |
CONTENT_COLLECTION |
static java.lang.String |
CONTENT_ITEM_PARAM |
static ParameterName |
CONTENT_ITEM_TYPE |
static java.lang.String |
ERROR_KEY |
static ParameterName |
ERROR_OPARAM |
static ParameterName |
INCLUDE_PATH |
static ParameterName |
NAVIGATION_ACTION_CONTENT_PATH |
static ParameterName |
OUTPUT_OPARAM |
static ParameterName |
RECORD_ACTION_CONTENT_PATH |
static ParameterName |
RULE_LIMIT |
mAllowCleanupRequest, mParameters
SERVLET_INFO_KEY
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
InvokeAssembler() |
Modifier and Type | Method and Description |
---|---|
protected ContentItem |
createContentInclude(DynamoHttpServletRequest pRequest,
java.lang.String pResourcePath)
Create a new
ContentInclude content item. |
protected ContentSlotConfig |
createContentSlotConfig(DynamoHttpServletRequest pRequest,
java.lang.String pContent,
int pRuleLimit)
Create a new
ContentSlotConfig content item |
AssemblerTools |
getAssemblerTools() |
protected ContentItem |
invokeAssembler(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
ContentItem pContentItem)
This method invokes the assembler with the given ContentItem and returns the results.
|
void |
service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Invokes the Assembler and assembles the content specified by the
"includePath" input parameter or the "contentCollection" input parameter.
|
void |
setAssemblerTools(AssemblerTools pAssemblerTools)
Set a new assembler tools class
|
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, init, service, service, setParameter
destroy, getServletConfig, getServletInfo, setServletInfo
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
public static final ParameterName INCLUDE_PATH
public static final ParameterName CONTENT_COLLECTION
public static final ParameterName RULE_LIMIT
public static final ParameterName CONTENT_ITEM_TYPE
public static final ParameterName NAVIGATION_ACTION_CONTENT_PATH
public static final ParameterName RECORD_ACTION_CONTENT_PATH
public static final ParameterName OUTPUT_OPARAM
public static final ParameterName ERROR_OPARAM
public static final java.lang.String CONTENT_ITEM_PARAM
public static final java.lang.String ERROR_KEY
public AssemblerTools getAssemblerTools()
public void setAssemblerTools(AssemblerTools pAssemblerTools)
pAssemblerTools
- public void service(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
service
in class DynamoServlet
pRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- an application specific error occurred
processing this requestjava.io.IOException
- an error occurred reading data from the request
or writing data to the response.protected ContentItem createContentInclude(DynamoHttpServletRequest pRequest, java.lang.String pResourcePath)
ContentInclude
content item. Returns an
instance of RedirectAwareContentInclude
if keyword
redirects are enabled.pRequest
- pResourcePath
- protected ContentSlotConfig createContentSlotConfig(DynamoHttpServletRequest pRequest, java.lang.String pContent, int pRuleLimit)
ContentSlotConfig
content itempRequest
- HttpRequestpResourcePath
- resource pathpRuleLimit
- rule limitprotected ContentItem invokeAssembler(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse, ContentItem pContentItem) throws AssemblerException
pRequest
- pResponse
- pContentItem
- AssemblerException