org.apache.jetspeed.container.url.impl
Class CleanPathInfoEncodedNavStateFromPortalURLValve

java.lang.Object
  extended by org.apache.jetspeed.pipeline.valve.AbstractValve
      extended by org.apache.jetspeed.container.url.impl.CleanPathInfoEncodedNavStateFromPortalURLValve
All Implemented Interfaces:
org.apache.jetspeed.pipeline.valve.Valve

public class CleanPathInfoEncodedNavStateFromPortalURLValve
extends AbstractValve

This Valve will clean encoded navstate from the browser url by sending a client side redirect to the same url with the navstate removed.

This Valve will only do this:

This valve needs to be added to the portal pipeline *after* the ContainerValve to ensure navstate is properly synchronized with the session.

Caveats:

Version:
$Id: CleanPathInfoEncodedNavStateFromPortalURLValve.java 605989 2007-12-20 18:26:54Z ate $
Author:
Ate Douma

Constructor Summary
CleanPathInfoEncodedNavStateFromPortalURLValve()
           
 
Method Summary
 void invoke(org.apache.jetspeed.request.RequestContext request, org.apache.jetspeed.pipeline.valve.ValveContext context)
           
 
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, toString, wait, wait, wait
 

Constructor Detail

CleanPathInfoEncodedNavStateFromPortalURLValve

public CleanPathInfoEncodedNavStateFromPortalURLValve()
Method Detail

invoke

public void invoke(org.apache.jetspeed.request.RequestContext request,
                   org.apache.jetspeed.pipeline.valve.ValveContext context)
            throws org.apache.jetspeed.pipeline.PipelineException
Specified by:
invoke in interface org.apache.jetspeed.pipeline.valve.Valve
Specified by:
invoke in class AbstractValve
Throws:
org.apache.jetspeed.pipeline.PipelineException


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.