org.springframework.web.servlet.view.json.error
Class StandartErrorConverter
java.lang.Object
org.springframework.web.servlet.view.json.error.StandartErrorConverter
- All Implemented Interfaces:
- JsonViewCallback
public class StandartErrorConverter
- extends Object
- implements JsonViewCallback
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandartErrorConverter
public StandartErrorConverter()
onPopulateErrors
public void onPopulateErrors(Map model,
org.springframework.web.servlet.support.RequestContext rc,
org.springframework.validation.BindingResult br)
throws Exception
- Specified by:
onPopulateErrors
in interface JsonViewCallback
- Throws:
Exception
onPopulateSuccess
public void onPopulateSuccess(Map model,
org.springframework.web.servlet.support.RequestContext rc,
org.springframework.validation.BindingResult br)
- Not imlemented for default behaviour
- Specified by:
onPopulateSuccess
in interface JsonViewCallback
getModelCleanUpMode
public String getModelCleanUpMode()
- Returns:
- the modelCleanUpMode
setModelCleanUpMode
public void setModelCleanUpMode(String modelCleanUpMode)
- Parameters:
modelCleanUpMode
- the modelCleanUpMode to set
getHasGlobalErrorsKey
public String getHasGlobalErrorsKey()
- Returns:
- the hasGlobalErrorsKey
setHasGlobalErrorsKey
public void setHasGlobalErrorsKey(String hasGlobalErrorsKey)
- Parameters:
hasGlobalErrorsKey
- the hasGlobalErrorsKey to set
getGlobalErrorsKey
public String getGlobalErrorsKey()
- Returns:
- the globalErrorsKey
setGlobalErrorsKey
public void setGlobalErrorsKey(String globalErrorsKey)
- Parameters:
globalErrorsKey
- the globalErrorsKey to set
getHasFieldErrorsKey
public String getHasFieldErrorsKey()
- Returns:
- the hasFieldErrorsKey
setHasFieldErrorsKey
public void setHasFieldErrorsKey(String hasFieldErrorsKey)
- Parameters:
hasFieldErrorsKey
- the hasFieldErrorsKey to set
getFieldErrorsKey
public String getFieldErrorsKey()
- Returns:
- the fieldErrorsKey
setFieldErrorsKey
public void setFieldErrorsKey(String fieldErrorsKey)
- Parameters:
fieldErrorsKey
- the fieldErrorsKey to set
Copyright © 2010. All Rights Reserved.