org.apache.jetspeed.desktop.impl
Class DesktopEncoderRedirectValveImpl
java.lang.Object
org.apache.jetspeed.pipeline.valve.AbstractValve
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected org.apache.commons.logging.Log log
DesktopEncoderRedirectValveImpl
public DesktopEncoderRedirectValveImpl(java.lang.String desktopPipelinePath,
java.lang.String desktopRenderPipelinePath)
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.