org.springframework.web.servlet.view.json.mock
Class MockSimpleFormWithJsonlibConfiguratorController
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.BaseCommandController
org.springframework.web.servlet.mvc.AbstractFormController
org.springframework.web.servlet.mvc.SimpleFormController
org.springframework.web.servlet.view.json.mock.MockSimpleFormWithJsonlibConfiguratorController
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller
public class MockSimpleFormWithJsonlibConfiguratorController
- extends org.springframework.web.servlet.mvc.SimpleFormController
| Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
DEFAULT_COMMAND_NAME |
| Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
METHOD_GET, METHOD_HEAD, METHOD_POST |
| Methods inherited from class org.springframework.web.servlet.mvc.SimpleFormController |
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, onSubmit, processFormSubmission, referenceData, setFormView, setSuccessView, showForm, showForm, suppressValidation |
| Methods inherited from class org.springframework.web.servlet.mvc.AbstractFormController |
currentFormObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewForm |
| Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, useDirectFieldAccess |
| Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
| Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader |
| Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
- Logger for this class and subclasses
EMPTY_CONFIGURATOR
public static final int EMPTY_CONFIGURATOR
- See Also:
- Constant Field Values
SIMPLE_CONFIGURATOR
public static final int SIMPLE_CONFIGURATOR
- See Also:
- Constant Field Values
MockSimpleFormWithJsonlibConfiguratorController
public MockSimpleFormWithJsonlibConfiguratorController()
initBinder
protected void initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder)
throws Exception
- Overrides:
initBinder in class org.springframework.web.servlet.mvc.BaseCommandController
- Throws:
Exception
referenceData
protected Map referenceData(javax.servlet.http.HttpServletRequest request)
throws Exception
- Overrides:
referenceData in class org.springframework.web.servlet.mvc.SimpleFormController
- Throws:
Exception
formBackingObject
protected Object formBackingObject(javax.servlet.http.HttpServletRequest request)
throws Exception
- Overrides:
formBackingObject in class org.springframework.web.servlet.mvc.AbstractFormController
- Throws:
Exception
onSubmitAction
public void onSubmitAction(Object command,
BindException errors)
throws Exception
- Throws:
Exception
getModel
public Map getModel()
setModel
public void setModel(Map model)
getTestDate
public Date getTestDate()
setTestDate
public void setTestDate(Date testDate)
getConfiguratorTemplateRegistry
public org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getConfiguratorTemplateRegistry(javax.servlet.http.HttpServletRequest request)
getEmptyConfiguratorTemplateRegistry
public org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getEmptyConfiguratorTemplateRegistry(javax.servlet.http.HttpServletRequest request)
getConfigurator
public int getConfigurator()
setConfigurator
public void setConfigurator(int configurator)
Copyright © 2010. All Rights Reserved.