org.zkoss.zk.ui.http
Class DHtmlLayoutServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.zkoss.zk.ui.http.DHtmlLayoutServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class DHtmlLayoutServlet
- extends javax.servlet.http.HttpServlet
Used to process the request for a ZUML page. Though it is called
DHtmlLayoutServlet, it is used to serve all kind of HTTP-based clients,
including ajax (HTML+Ajax), mil (Mobile Interactive Language)
and others (see Desktop.getDeviceType().
- Author:
- tomyeh
- See Also:
- Serialized Form
|
Method Summary |
void |
destroy()
|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
javax.servlet.ServletContext |
getServletContext()
|
void |
init(javax.servlet.ServletConfig config)
|
protected boolean |
process(Session sess,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path,
boolean bRichlet)
Process the request. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHtmlLayoutServlet
public DHtmlLayoutServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Servlet- Overrides:
destroy in class javax.servlet.GenericServlet
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext in interface javax.servlet.ServletConfig- Overrides:
getServletContext in class javax.servlet.GenericServlet
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
process
protected boolean process(Session sess,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path,
boolean bRichlet)
throws javax.servlet.ServletException,
java.io.IOException
- Process the request.
- Returns:
- false if the page is not found.
- Throws:
javax.servlet.ServletException
java.io.IOException- Since:
- 3.0.0
Copyright © 2005-2007 Potix Corporation. All Rights Reserved.