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:
- org.apache.jetspeed.pipeline.valve.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
Method Summary |
void |
invoke(org.apache.jetspeed.request.RequestContext request,
org.apache.jetspeed.pipeline.valve.ValveContext context)
|
String |
toString()
|
log
protected org.apache.commons.logging.Log log
desktopPipelinePath
private String desktopPipelinePath
desktopRenderPipelinePath
private String desktopRenderPipelinePath
DesktopEncoderRedirectValveImpl
public DesktopEncoderRedirectValveImpl(String desktopPipelinePath,
String desktopRenderPipelinePath)
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
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.