public abstract class GlueAbstractController extends Object implements Controller
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger
logger
|
Constructor and Description |
---|
GlueAbstractController() |
Modifier and Type | Method and Description |
---|---|
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) |
public void setErrorPage(String errorPage)
public void setRequestParam(String[] requestParam)
public void setRequestAttr(String[] requestAttr)
public void setSessionAttr(String[] sessionAttr)
public void setCookie(String[] cookie)
public void setHeader(String[] header)
public void setViewPage(String viewPage)
public String getViewPage()
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception
handleRequest
in interface Controller
Exception
protected GlueMultipartRequest processUploadFile(HttpServletRequest request) throws Exception
Exception
public void preDoAction(GlueWebContext ctx, HttpServletRequest request, HttpServletResponse response)
public void afterDoAction(GlueWebContext ctx, HttpServletRequest request, HttpServletResponse response)
public abstract void preDoAction(GlueWebContext ctx)
public abstract void afterDoAction(GlueWebContext ctx)
public abstract ModelAndView setModelAndView(GlueWebContext ctx)
Copyright © 2013–2021 POSCO ICT. All rights reserved.