|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.AbstractCommandController
org.springframework.web.servlet.view.json.mock.MockCommandController
org.springframework.web.servlet.view.json.mock.MockCommandWithXStreamConfiguratorController
public class MockCommandWithXStreamConfiguratorController
| Field Summary | |
|---|---|
static int |
EMPTY_CONFIGURATOR
|
static int |
SIMPLE_CONFIGURATOR
|
| 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 |
| Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
MockCommandWithXStreamConfiguratorController()
|
|
| Method Summary | |
|---|---|
int |
getConfigurator()
|
org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry |
getConfiguratorTemplateRegistry(javax.servlet.http.HttpServletRequest request)
|
org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry |
getEmptyConfiguratorTemplateRegistry(javax.servlet.http.HttpServletRequest request)
|
protected org.springframework.web.servlet.ModelAndView |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object command,
org.springframework.validation.BindException exception)
|
protected void |
initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder)
|
void |
setConfigurator(int configurator)
|
| Methods inherited from class org.springframework.web.servlet.mvc.AbstractCommandController |
|---|
handleRequestInternal |
| Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
|---|
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommand, 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, 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 |
| Field Detail |
|---|
public static final int EMPTY_CONFIGURATOR
public static final int SIMPLE_CONFIGURATOR
| Constructor Detail |
|---|
public MockCommandWithXStreamConfiguratorController()
| Method Detail |
|---|
protected void initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder)
throws Exception
initBinder in class MockCommandControllerException
protected org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object command,
org.springframework.validation.BindException exception)
throws Exception
handle in class MockCommandControllerExceptionpublic org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getConfiguratorTemplateRegistry(javax.servlet.http.HttpServletRequest request)
public org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getEmptyConfiguratorTemplateRegistry(javax.servlet.http.HttpServletRequest request)
public int getConfigurator()
public void setConfigurator(int configurator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||