com.poscoict.glueframework.web.control.spring
Class GlueJsonController
java.lang.Object
com.poscoict.glueframework.web.control.spring.GlueAbstractController
com.poscoict.glueframework.web.control.spring.GlueJsonController
- All Implemented Interfaces:
- org.springframework.web.servlet.mvc.Controller
public class GlueJsonController
- extends GlueAbstractController
Json Controller for SpringMVC.
ModelAndView ¿ì¼±¼øÀ§
1. GlueService ½ÇÇàÁß GlueContext¿¡ "forwardname" À̸§À¸·Î ´ã±â´Â °ª.
2. controller bean¿¡ Á¤ÀÇµÈ property °ª
3. jsonView
JSON Data
1. "result-keys" : GlueResultKeyList activity
2. is_success : GlueContextÀÇ Exception À¯¹«
3. exception_class
4. exception_code
5. exception_message
6. exception_localized_message
[sample dispatcher-servlet.xml]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlueJsonController
public GlueJsonController()
preDoAction
public void preDoAction(GlueWebContext ctx)
- Specified by:
preDoAction
in class GlueAbstractController
afterDoAction
public void afterDoAction(GlueWebContext ctx)
- Specified by:
afterDoAction
in class GlueAbstractController
setModelAndView
public org.springframework.web.servlet.ModelAndView setModelAndView(GlueWebContext ctx)
- Specified by:
setModelAndView
in class GlueAbstractController
Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.