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

java.lang.Object
  extended by com.poscoict.glueframework.web.control.spring.GlueAbstractController
All Implemented Interfaces:
Controller
Direct Known Subclasses:
GlueJsonController, GlueSimpleController, GlueXMLViewController

public abstract class GlueAbstractController
extends Object
implements Controller

Spring MVC ÀÇ Controller.


Field Summary
protected  org.slf4j.Logger logger
          logger
 
Constructor Summary
GlueAbstractController()
           
 
Method Summary
abstract  void afterDoAction(GlueWebContext ctx)
           
 void afterDoAction(GlueWebContext ctx, HttpServletRequest request, HttpServletResponse response)
           
 String getViewPage()
           
 ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
           
abstract  void preDoAction(GlueWebContext ctx)
           
 void preDoAction(GlueWebContext ctx, HttpServletRequest request, HttpServletResponse response)
           
protected  GlueMultipartRequest processUploadFile(HttpServletRequest request)
          Deprecated.  
 void setCookie(String[] cookie)
           
 void setErrorPage(String errorPage)
           
 void setHeader(String[] header)
           
abstract  ModelAndView setModelAndView(GlueWebContext ctx)
           
 void setRequestAttr(String[] requestAttr)
           
 void setRequestParam(String[] requestParam)
           
 void setSessionAttr(String[] sessionAttr)
           
 void setViewPage(String viewPage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.slf4j.Logger logger
logger

Constructor Detail

GlueAbstractController

public GlueAbstractController()
Method Detail

setErrorPage

public void setErrorPage(String errorPage)

setRequestParam

public void setRequestParam(String[] requestParam)

setRequestAttr

public void setRequestAttr(String[] requestAttr)

setSessionAttr

public void setSessionAttr(String[] sessionAttr)

setCookie

public void setCookie(String[] cookie)

setHeader

public void setHeader(String[] header)

setViewPage

public void setViewPage(String viewPage)

getViewPage

public String getViewPage()

handleRequest

public ModelAndView handleRequest(HttpServletRequest request,
                                  HttpServletResponse response)
                           throws Exception
Specified by:
handleRequest in interface Controller
Throws:
Exception

processUploadFile

protected GlueMultipartRequest processUploadFile(HttpServletRequest request)
                                          throws Exception
Deprecated. 

Throws:
Exception

preDoAction

public void preDoAction(GlueWebContext ctx,
                        HttpServletRequest request,
                        HttpServletResponse response)

afterDoAction

public void afterDoAction(GlueWebContext ctx,
                          HttpServletRequest request,
                          HttpServletResponse response)

preDoAction

public abstract void preDoAction(GlueWebContext ctx)

afterDoAction

public abstract void afterDoAction(GlueWebContext ctx)

setModelAndView

public abstract ModelAndView setModelAndView(GlueWebContext ctx)


Copyright © 2013–2016 POSCO ICT. All rights reserved.