Skip navigation links
com.essbase.eas.framework.server.application
Class DefaultServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.essbase.eas.framework.server.application.DefaultServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
-
public class DefaultServlet
- extends javax.servlet.http.HttpServlet
implementation of EAS based servlet.
Notes:
- setClassServiceContext() not implemented.
- Since:
- 6.5.2
- Version:
- 6.5.2, 10/01/02
- Author:
- Hank Cox, Painted Word
- See Also:
- Serialized Form
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
storeService
protected static StoreService storeService
- contains the store service object for all DefaultServlet objects.
storeAdmin
protected static StoreAdmin storeAdmin
- contains the storage admin object for all DefaultServlet objects.
appStore
protected static StoreToken appStore
configScope
protected static ScopeToken configScope
builderScope
protected static ScopeToken builderScope
appScope
protected static ScopeToken appScope
application
protected static Application application
requestNumber
protected static int requestNumber
serviceContext
protected static ServiceContext serviceContext
semaphore
protected static java.lang.Boolean semaphore
DefaultServlet
public DefaultServlet()
init
public void init()
throws javax.servlet.ServletException
-
- Overrides:
init
in class javax.servlet.GenericServlet
-
- Parameters:
config
-
- Throws:
javax.servlet.ServletException
createAdminStore
protected static StoreToken createAdminStore(StoreService store)
-
- Parameters:
store
- -
- Returns:
- - @@todo return value.
destroyAdminStore
protected void destroyAdminStore()
destroy
public void destroy()
-
- Specified by:
destroy
in interface javax.servlet.Servlet
- Overrides:
destroy
in class javax.servlet.GenericServlet
doGet
public 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
handleGetRequest
public boolean handleGetRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
-
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
public 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
handleRequest
protected void handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
-
- Throws:
javax.servlet.ServletException
java.io.IOException
getNewSession
protected javax.servlet.http.HttpSession getNewSession(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
lookupCreateSessionScope
protected ScopeToken lookupCreateSessionScope(javax.servlet.http.HttpSession session)
tryInvalidateSession
protected boolean tryInvalidateSession(ScopeToken sessionScope,
javax.servlet.http.HttpSession session)
destroyLastRequestStore
protected void destroyLastRequestStore(ScopeToken sessionScope)
sharedDestroyLastRequestStore
protected static void sharedDestroyLastRequestStore(ScopeToken sessionScope)
destroyRequestStore
protected static void destroyRequestStore(java.lang.Integer requestKey)
createRequestStore
protected java.lang.Integer createRequestStore(ScopeToken sessionScope)
bindStoreTokenToContext
protected void bindStoreTokenToContext(ServiceContext context,
StoreToken storeToken)
- Enables the StoreService class to access a store token from the context using class name, StoreToken.class.getName(). This enabled us to wrap store service in StoreService interface to minimize upgrade pain.
getSessionKey
protected java.lang.String getSessionKey(javax.servlet.http.HttpSession session)
sharedGetSessionKey
protected static java.lang.String sharedGetSessionKey(javax.servlet.http.HttpSession session)
initSessionCleaner
protected SessionCleaner initSessionCleaner(StoreAdmin storeAdmin)
- Initialize the session cleaner that will be called when sessions are invalidated. This is a method so that derived classes can provide their own session cleaner by extending the SessionCleaner class
-
- Parameters:
storeAdmin
-
- Returns:
- SessionCleaner - an object that implements @link HttpSessionBindingListener
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.