Class GlueAbstractController
java.lang.Object
com.poscoict.glueframework.web.control.spring.GlueAbstractController
- All Implemented Interfaces:
Controller
- Direct Known Subclasses:
GlueJsonController
,GlueSimpleController
,GlueXMLViewController
Spring MVC 의 Controller.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
void
afterDoAction
(GlueWebContext ctx, HttpServletRequest request, HttpServletResponse response) handleRequest
(HttpServletRequest request, HttpServletResponse response) abstract void
void
preDoAction
(GlueWebContext ctx, HttpServletRequest request, HttpServletResponse response) protected GlueMultipartRequest
processUploadFile
(HttpServletRequest request) Deprecated.void
void
setErrorPage
(String errorPage) void
abstract ModelAndView
void
setRequestAttr
(String[] requestAttr) void
setRequestParam
(String[] requestParam) void
setSessionAttr
(String[] sessionAttr) void
setViewPage
(String viewPage)
-
Field Details
-
logger
protected org.slf4j.Logger loggerlogger
-
-
Constructor Details
-
GlueAbstractController
public GlueAbstractController()
-
-
Method Details
-
setErrorPage
-
setRequestParam
-
setRequestAttr
-
setSessionAttr
-
setCookie
-
setHeader
-
setViewPage
-
getViewPage
-
handleRequest
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception - Specified by:
handleRequest
in interfaceController
- Throws:
Exception
-
processUploadFile
Deprecated.- Throws:
Exception
-
preDoAction
public void preDoAction(GlueWebContext ctx, HttpServletRequest request, HttpServletResponse response) -
afterDoAction
public void afterDoAction(GlueWebContext ctx, HttpServletRequest request, HttpServletResponse response) -
preDoAction
-
afterDoAction
-
setModelAndView
-