|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.pipeline.valve.AbstractValve org.apache.jetspeed.profiler.impl.ProfilerValveImpl
public class ProfilerValveImpl
ProfilerValveImpl
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
log
|
private static String |
PAGE_ACTION_ACCESS_MAP_SESSION_ATTR_KEY
session key for storing map of PageActionAccess instances |
static String |
PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY
PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY - request portal site context attribute key |
static String |
PORTAL_SITE_SESSION_CONTEXT_ATTR_KEY
PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY - session portal site context attribute key |
private org.apache.jetspeed.portalsite.PortalSite |
portalSite
portalSite - portal site component |
static String |
PROFILED_PAGE_CONTEXT_ATTR_KEY
PROFILED_PAGE_CONTEXT_ATTR_KEY - legacy request portal site context attribute key |
private org.apache.jetspeed.profiler.Profiler |
profiler
profiler - profiler component |
private boolean |
requestFallback
requestFallback - flag indicating whether request should fallback to root folder if locators do not select a page or access is forbidden |
private boolean |
useHistory
useHistory - flag indicating whether to use visited page history to select default page per site folder |
Fields inherited from interface org.apache.jetspeed.pipeline.valve.PageProfilerValve |
---|
PROFILE_LOCATOR_REQUEST_ATTR_KEY, PROFILE_LOCATORS_PER_PRINCIPAL |
Constructor Summary | |
---|---|
ProfilerValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
org.apache.jetspeed.portalsite.PortalSite portalSite)
ProfilerValveImpl - constructor |
|
ProfilerValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
org.apache.jetspeed.portalsite.PortalSite portalSite,
boolean requestFallback)
ProfilerValveImpl - constructor |
|
ProfilerValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
org.apache.jetspeed.portalsite.PortalSite portalSite,
boolean requestFallback,
boolean useHistory)
ProfilerValveImpl - constructor |
Method Summary | |
---|---|
protected PageActionAccess |
getPageActionAccess(org.apache.jetspeed.request.RequestContext requestContext)
Returns the PageActionAccess for the current user request. |
protected boolean |
hasPipelineChanged(String requestPipeline,
String sessionPipeline)
|
void |
invoke(org.apache.jetspeed.request.RequestContext request,
org.apache.jetspeed.pipeline.valve.ValveContext context)
|
String |
toString()
|
Methods inherited from class org.apache.jetspeed.pipeline.valve.AbstractValve |
---|
initialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.pipeline.valve.Valve |
---|
initialize |
Field Detail |
---|
protected org.apache.commons.logging.Log log
public static final String PORTAL_SITE_SESSION_CONTEXT_ATTR_KEY
public static final String PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY
public static final String PROFILED_PAGE_CONTEXT_ATTR_KEY
private static final String PAGE_ACTION_ACCESS_MAP_SESSION_ATTR_KEY
private org.apache.jetspeed.profiler.Profiler profiler
private org.apache.jetspeed.portalsite.PortalSite portalSite
private boolean requestFallback
private boolean useHistory
Constructor Detail |
---|
public ProfilerValveImpl(org.apache.jetspeed.profiler.Profiler profiler, org.apache.jetspeed.portalsite.PortalSite portalSite, boolean requestFallback, boolean useHistory)
profiler
- profiler component referenceportalSite
- portal site component referencerequestFallback
- flag to enable root folder fallbackuseHistory
- flag to enable selection of last visited folder pagepublic ProfilerValveImpl(org.apache.jetspeed.profiler.Profiler profiler, org.apache.jetspeed.portalsite.PortalSite portalSite, boolean requestFallback)
profiler
- profiler component referenceportalSite
- portal site component referencerequestFallback
- flag to enable root folder fallbackpublic ProfilerValveImpl(org.apache.jetspeed.profiler.Profiler profiler, org.apache.jetspeed.portalsite.PortalSite portalSite)
profiler
- profiler component referenceportalSite
- portal site component referenceMethod Detail |
---|
public void invoke(org.apache.jetspeed.request.RequestContext request, org.apache.jetspeed.pipeline.valve.ValveContext context) throws org.apache.jetspeed.pipeline.PipelineException
invoke
in interface org.apache.jetspeed.pipeline.valve.Valve
invoke
in class AbstractValve
org.apache.jetspeed.pipeline.PipelineException
protected boolean hasPipelineChanged(String requestPipeline, String sessionPipeline)
protected PageActionAccess getPageActionAccess(org.apache.jetspeed.request.RequestContext requestContext)
PageActionAccess
for the current user request.
requestContext
- RequestContext of the current portal request.
PageActionAccess
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |