org.apache.jetspeed.desktop.impl
Class DesktopEncoderRedirectValveImpl

java.lang.Object
  extended by org.apache.jetspeed.pipeline.valve.AbstractValve
      extended by org.apache.jetspeed.desktop.impl.DesktopEncoderRedirectValveImpl
All Implemented Interfaces:
Valve

public class DesktopEncoderRedirectValveImpl
extends AbstractValve

DesktopEncoderRedirect Valve if request parameter encoder=desktop is NOT defined, redirect to same url with /desktop pipeline, otherwise, just invoke next valve Used by the /render pipeline (desktop-render-pipeline) to allow render requests that are not initiated via desktop javascript code to result in a page level navigation to the /desktop pipeline with the correct portlet rendering indicated in the original url. The encoder=desktop request parameter is used by desktop javascript code to indicate that the request is an "official" desktop ajax request.

Version:
$Id: $
Author:
Steve Milek

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
DesktopEncoderRedirectValveImpl(java.lang.String desktopPipelinePath, java.lang.String desktopRenderPipelinePath)
           
 
Method Summary
 void invoke(RequestContext request, ValveContext context)
           
 java.lang.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
 

Field Detail

log

protected org.apache.commons.logging.Log log
Constructor Detail

DesktopEncoderRedirectValveImpl

public DesktopEncoderRedirectValveImpl(java.lang.String desktopPipelinePath,
                                       java.lang.String desktopRenderPipelinePath)
Method Detail

invoke

public void invoke(RequestContext request,
                   ValveContext context)
            throws PipelineException
Specified by:
invoke in interface Valve
Specified by:
invoke in class AbstractValve
Throws:
PipelineException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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