|
||||||||||
| 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
nextapp.echo2.webrender.WebRenderServlet
nextapp.echo2.webcontainer.WebContainerServlet
com.sptci.echo2.http.Servlet
public class Servlet
Generic Echo2 Servlet Implementation. The following init-param
parameters must be configured for the servlet.
ApplicationInstance class to initialise in
newApplicationInstance().ContentPane
class to use in Application.init().StyleSheet
class to use in Application.init().ApplicationInstance
to be returned must be configured as an init-param in the
web.xml descriptor for this servlet.
Copyright 2006 Sans Pareil Technologies, Inc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class nextapp.echo2.webrender.WebRenderServlet |
|---|
WebRenderServlet.MultipartRequestWrapper |
| Field Summary | |
|---|---|
static String |
APPLICATION_INSTANCE
The name of the init-param used to configure the name
of the ApplicationInstance that is to be returned by
this servlet. |
protected String |
className
The fully qualified name of the ApplicationInstance class
that will be returned by newApplicationInstance(). |
static String |
CONTENT_PANE
The name of the init-param used to configure the name
of the ContentPane that is to be set for Application.window in Application.init(). |
protected String |
contentPane
The fully qualified name of the ContentPane class
that will be used in Application.init(). |
protected static Logger |
logger
The logger used to log errors to. |
static String |
STYLE_SHEET
The name of the init-param used to configure the name
of the StyleSheet that is to be set for Application in Application.init(). |
protected String |
styleSheet
The fully qualified name of StyleSheet class that will be
used in Application.init(). |
protected ThreadLocal<User> |
user
A ThreadLocal field used to store the User object that represents the currently
logged in user. |
| Fields inherited from class nextapp.echo2.webrender.WebRenderServlet |
|---|
DISABLE_CACHING, SERVICE_ID_DEFAULT, SERVICE_ID_NEW_INSTANCE, SERVICE_ID_PARAMETER, SERVICE_ID_SESSION_EXPIRED |
| Constructor Summary | |
|---|---|
Servlet()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
init()
Over-ridden to load the application property file and set the necessary properties. |
ApplicationInstance |
newApplicationInstance()
Implementation of mandatory method in WebContainerServlet. |
protected void |
process(HttpServletRequest request,
HttpServletResponse response)
Over-ridden to handle all uncaught exceptions. |
| Methods inherited from class nextapp.echo2.webrender.WebRenderServlet |
|---|
doGet, doPost, getActiveConnection, getMultipartRequestWrapper, getServiceRegistry, setMultipartRequestWrapper |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger logger
public static final String APPLICATION_INSTANCE
init-param used to configure the name
of the ApplicationInstance that is to be returned by
this servlet.
"applicationInstance"
public static final String CONTENT_PANE
init-param used to configure the name
of the ContentPane that is to be set for Application.window in Application.init().
"contentPane"
public static final String STYLE_SHEET
init-param used to configure the name
of the StyleSheet that is to be set for Application in Application.init().
"styleSheet"
protected String className
ApplicationInstance class
that will be returned by newApplicationInstance().
protected String contentPane
ContentPane class
that will be used in Application.init().
protected String styleSheet
StyleSheet class that will be
used in Application.init().
protected ThreadLocal<User> user
ThreadLocal field used to store the User object that represents the currently
logged in user. This is populated only for applications
that require authentication and/or authorisation.
| Constructor Detail |
|---|
public Servlet()
| Method Detail |
|---|
public ApplicationInstance newApplicationInstance()
WebContainerServlet.
newApplicationInstance in class WebContainerServletpublic void init()
init in class GenericServlet
protected void process(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
process in class WebRenderServletIOException
ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||