| java.lang.Object org.zkoss.web.servlet.dsp.ServletDspContext
ServletDspContext | public class ServletDspContext implements DspContext(Code) | | A DSP context based on HTTP servlet request and response.
author: tomyeh |
Constructor Summary | |
public | ServletDspContext(ServletContext ctx, HttpServletRequest request, HttpServletResponse response, Locator locator) Constructor.
Parameters: locator - used to locate resources, such as taglib.If null is specified, the locator for the specified servlet contextis used. | public | ServletDspContext(ServletContext ctx, HttpServletRequest request, HttpServletResponse response, Writer out, Locator locator) Constructor with the specified writer.
Parameters: locator - used to locate resources, such as taglib.If null is specified, the locator for the specified servlet contextis used. |
ServletDspContext | public ServletDspContext(ServletContext ctx, HttpServletRequest request, HttpServletResponse response, Locator locator)(Code) | | Constructor.
Parameters: locator - used to locate resources, such as taglib.If null is specified, the locator for the specified servlet contextis used. (In other words, we use ServletContextLocator(ctx), if locator is null). |
ServletDspContext | public ServletDspContext(ServletContext ctx, HttpServletRequest request, HttpServletResponse response, Writer out, Locator locator)(Code) | | Constructor with the specified writer.
Parameters: locator - used to locate resources, such as taglib.If null is specified, the locator for the specified servlet contextis used. (In other words, we use ServletContextLocator(ctx), if locator is null). Parameters: out - the output to generate the result.If null, it is the same as ServletDspContext.ServletDspContext(ServletContext,HttpServletRequest,HttpServletResponse,Locator)In other words, response.getWriter() is used. since: 2.4.1 |
setContentType | public void setContentType(String ctype)(Code) | | |
|
|