|
© 2005 BEA Systems, Inc. | |||||||||
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.bea.netuix.servlets.manager.UIServlet
com.bea.netuix.servlets.manager.PortalServlet
Front door servlet to handle requests for portals and desktops. Requests
that end in 'portalExtensions' are handed off to the UIServlet
.
The UIControl
tree or content uri for a portal for a requested
desktop is cached after being retrieved from the persistent store. Caches
for user personalized desktops are flushed at the end of a user's session.
Non-personalized desktops stay in the cache until either the cache expires
them based on its ttl value or they are updated using the persistence API.
ContentUris for portals are also cached and flushed using the aforementioned
logic.
UIServlet
to
run lifecycle methods on it. If a content uri is obtained the request is
forwarded to it.
Nested Class Summary | |
static class |
PortalServlet.UserCacheFlushSessionBindingListener
SessionBindingListener to flush the user cache at the end of a session. |
Field Summary |
Fields inherited from class com.bea.netuix.servlets.manager.UIServlet |
PATH_INFO, PROFILE_ON, PROFILE_OUTPUT_FREQUENCY, SERVLET_PATH, STREAM_REQUEST_FILE, STREAMING_JSPX, STREAMING_JSPX_FILE_PARAM |
Constructor Summary | |
PortalServlet()
|
Method Summary | |
protected com.bea.netuix.application.manager.util.CacheKey |
createCacheKey(String _webAppName,
String _portalPath,
String _desktopPath,
String _userName,
ArrayList _locales)
Deprecated. As of 8.1 SP2, replaced by createCacheKey() |
protected UIControlTreeCacheData |
createControlTreeData(byte[] controlTreeBytes)
Deprecated. As of 8.1 SP2, replaced by methods in SingleFileProcessor |
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
|
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
doPost method. |
protected byte[] |
getCachedControlTreeBytes(com.bea.netuix.application.manager.util.CacheKey cacheKey)
Deprecated. As of 8.1 SP2, replaced by methods in SingleFileProcessor |
protected Serializable |
getFromTreeCache(com.bea.netuix.application.manager.util.CacheKey cacheKey)
Deprecated. As of 8.1 SP2, replaced by methods in SingleFileProcessor |
protected UIControlTreeCacheData |
getTreeFromJspx(String jspx,
HttpServletRequest request,
HttpServletResponse response,
Locale locale)
Deprecated. As of 8.1 SP2, replaced by methods in SingleFileProcessor |
void |
init()
Initalize this servlet. |
protected void |
putInTreeCache(com.bea.netuix.application.manager.util.CacheKey cacheKey,
byte[] cacheValue)
Deprecated. As of 8.1 SP2, replaced by methods in SingleFileProcessor |
protected void |
putInTreeCache(com.bea.netuix.application.manager.util.CacheKey cacheKey,
UIControlTreeCacheData cacheValue)
Deprecated. As of 8.1 SP2, replaced by methods in SingleFileProcessor |
Methods inherited from class com.bea.netuix.servlets.manager.UIServlet |
createJspContext, getDefaultPackage, getDefaultPageName, getTree, getTree, getTreeForUrl, getTreeForUrl, initControlTreeWalkerPool, processControlTree, processStream, runLifecycle, service, setContentType |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, 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 |
Constructor Detail |
public PortalServlet()
Method Detail |
protected com.bea.netuix.application.manager.util.CacheKey createCacheKey(String _webAppName, String _portalPath, String _desktopPath, String _userName, ArrayList _locales)
createCacheKey()
protected UIControlTreeCacheData createControlTreeData(byte[] controlTreeBytes) throws IOException, ClassNotFoundException
SingleFileProcessor
IOException
ClassNotFoundException
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
ServletException
IOException
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
request
- HttpServletRequestresponse
- HttpServletResposne
ServletException
IOException
protected byte[] getCachedControlTreeBytes(com.bea.netuix.application.manager.util.CacheKey cacheKey)
SingleFileProcessor
protected Serializable getFromTreeCache(com.bea.netuix.application.manager.util.CacheKey cacheKey)
SingleFileProcessor
protected UIControlTreeCacheData getTreeFromJspx(String jspx, HttpServletRequest request, HttpServletResponse response, Locale locale)
SingleFileProcessor
public void init() throws ServletException
Initalize this servlet.
ServletException
protected void putInTreeCache(com.bea.netuix.application.manager.util.CacheKey cacheKey, byte[] cacheValue)
SingleFileProcessor
protected void putInTreeCache(com.bea.netuix.application.manager.util.CacheKey cacheKey, UIControlTreeCacheData cacheValue)
SingleFileProcessor
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |