com.poscoict.glueframework.web.control.spring
Class GlueJsonController

java.lang.Object
  extended by com.poscoict.glueframework.web.control.spring.GlueAbstractController
      extended by 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]
 
 
     
     
     
         
     
     
         
         
         
     
     
  
 


Field Summary
 
Fields inherited from class com.poscoict.glueframework.web.control.spring.GlueAbstractController
logger
 
Constructor Summary
GlueJsonController()
           
 
Method Summary
 void afterDoAction(GlueWebContext ctx)
           
 void preDoAction(GlueWebContext ctx)
           
 org.springframework.web.servlet.ModelAndView setModelAndView(GlueWebContext ctx)
           
 
Methods inherited from class com.poscoict.glueframework.web.control.spring.GlueAbstractController
getViewPage, handleRequest, processUploadFile, setCookie, setErrorPage, setHeader, setRequestAttr, setRequestParam, setSessionAttr, setViewPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueJsonController

public GlueJsonController()
Method Detail

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.