|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.caucho.portal.generic.GenericPortalServlet
public class GenericPortalServlet
This servlet supports the following configuration items. Items marked with a * can be set as init-param.
Portal, default is an instance of
GenericPortal.
portal
GenericLayoutWindow, required
layout
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
log
|
| Constructor Summary | |
|---|---|
GenericPortalServlet()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Called when the servlet (and the application) shuts down. |
protected void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Process a GET or HEAD request |
protected void |
doPost(HttpServletRequest req,
HttpServletResponse res)
Process a POST request |
protected void |
doRequest(HttpServletRequest httpRequest,
HttpServletResponse httpResponse)
|
protected void |
doRequest(PortletConnection connection)
|
void |
init(ServletConfig servletConfig)
Initialize the servlet. |
protected java.lang.Object |
newInstance(java.lang.Class targetClass,
java.lang.String className)
|
void |
setLayout(GenericLayoutWindow layout)
The layout, required. |
void |
setLayoutClass(java.lang.String className)
An alternative to setLayout(GenericLayoutWindow), specify the
class name of an object to instantiate |
void |
setPortal(Portal portal)
Default is an instance of GenericPortal. |
void |
setPortalClass(java.lang.String className)
An alternative to setPortal(Portal), specify the class
name of an object to instantiate |
| 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, getServletContext, getServletInfo, getServletName, init, log, log, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger log
| Constructor Detail |
|---|
public GenericPortalServlet()
| Method Detail |
|---|
public void setPortal(Portal portal)
GenericPortal.
public void setPortalClass(java.lang.String className)
setPortal(Portal), specify the class
name of an object to instantiate
public void setLayout(GenericLayoutWindow layout)
public void setLayoutClass(java.lang.String className)
setLayout(GenericLayoutWindow), specify the
class name of an object to instantiate
public void init(ServletConfig servletConfig)
throws ServletException
GenericServletinit() instead.
init in interface Servletinit in class GenericServletservletConfig - the servlet's configuration
ServletException
protected java.lang.Object newInstance(java.lang.Class targetClass,
java.lang.String className)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
HttpServlet
doGet in class HttpServletreq - the client requestres - response to the client
ServletException
java.io.IOException
protected void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
HttpServlet
doPost in class HttpServletreq - the client requestres - response to the client
ServletException
java.io.IOException
protected void doRequest(HttpServletRequest httpRequest,
HttpServletResponse httpResponse)
throws ServletException,
java.io.IOException
ServletException
java.io.IOException
protected void doRequest(PortletConnection connection)
throws PortletException,
java.io.IOException
PortletException
java.io.IOExceptionpublic void destroy()
GenericServlet
destroy in interface Servletdestroy in class GenericServlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||