public class EmptyFormHandler extends GenericService implements DropletFormHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
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 |
---|
EmptyFormHandler() |
Modifier and Type | Method and Description |
---|---|
void |
afterGet(DynamoHttpServletRequest request,
DynamoHttpServletResponse response)
Called after the page containing this form has been rendered,
but before the output stream is closed (unless it was closed explicitly by the page)
This method is suitable for releasing any resources obtained during
the processing of the request, logging of the operation performed,
etc.
|
boolean |
afterSet(DynamoHttpServletRequest request,
DynamoHttpServletResponse response)
Called after all form arguments have been submitted, before the
page is serviced (or rendered).
|
void |
beforeGet(DynamoHttpServletRequest request,
DynamoHttpServletResponse response)
Called when a form is rendered that references this bean.
|
boolean |
beforeSet(DynamoHttpServletRequest request,
DynamoHttpServletResponse response)
Called when a form is submitted that references this bean before any set
methods have been called, i.e.
|
void |
handleFormException(DropletFormException exception,
DynamoHttpServletRequest request,
DynamoHttpServletResponse response)
This is called if an exception occurred when getting or setting
the values of the form.
|
void |
handleUncheckedFormException(java.lang.Throwable exception,
DynamoHttpServletRequest request,
DynamoHttpServletResponse response)
This is called if an unchecked exception occurred when getting or setting
the values of the form.
|
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 boolean beforeSet(DynamoHttpServletRequest request, DynamoHttpServletResponse response) throws DropletFormException
beforeSet
in interface DropletFormHandler
DropletFormException
public boolean afterSet(DynamoHttpServletRequest request, DynamoHttpServletResponse response) throws DropletFormException
afterSet
in interface DropletFormHandler
DropletFormException
public void beforeGet(DynamoHttpServletRequest request, DynamoHttpServletResponse response)
beforeGet
in interface DropletFormHandler
public void afterGet(DynamoHttpServletRequest request, DynamoHttpServletResponse response)
afterGet
in interface DropletFormHandler
public void handleFormException(DropletFormException exception, DynamoHttpServletRequest request, DynamoHttpServletResponse response)
handleFormException
in interface DropletFormHandler
public void handleUncheckedFormException(java.lang.Throwable exception, DynamoHttpServletRequest request, DynamoHttpServletResponse response)
handleUncheckedFormException
in interface DropletFormHandler