public class OwRequestListener extends Object implements javax.servlet.ServletRequestListener, javax.servlet.http.HttpSessionAttributeListener
ServletRequestListener. Specific Listener used to notify the framework for pre- and postprocessing of a request.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PREPARE
Attribute name which is set if prepare was executed
|
protected static String |
REQ_PROC_START
Attribute name which contains the start time of request (in milliseconds Long)
|
| Constructor and Description |
|---|
OwRequestListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeAdded(javax.servlet.http.HttpSessionBindingEvent sbEv) |
void |
attributeRemoved(javax.servlet.http.HttpSessionBindingEvent sbEv) |
void |
attributeReplaced(javax.servlet.http.HttpSessionBindingEvent sbEv) |
protected boolean |
isNotificationPath(String servletPath)
(overridable)
Check if current request path is a framework dependent processing.
|
void |
requestDestroyed(javax.servlet.ServletRequestEvent sre) |
void |
requestInitialized(javax.servlet.ServletRequestEvent sre) |
protected static final String PREPARE
protected static final String REQ_PROC_START
public void requestDestroyed(javax.servlet.ServletRequestEvent sre)
requestDestroyed in interface javax.servlet.ServletRequestListenerpublic void requestInitialized(javax.servlet.ServletRequestEvent sre)
requestInitialized in interface javax.servlet.ServletRequestListenerprotected boolean isNotificationPath(String servletPath)
This method filter out the calls which are simple resource request for images, CSS and so on.
servletPath - String Servlet pathpublic void attributeAdded(javax.servlet.http.HttpSessionBindingEvent sbEv)
attributeAdded in interface javax.servlet.http.HttpSessionAttributeListenerpublic void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent sbEv)
attributeRemoved in interface javax.servlet.http.HttpSessionAttributeListenerpublic void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent sbEv)
attributeReplaced in interface javax.servlet.http.HttpSessionAttributeListenerCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.