info.magnolia.voting.voters
Class ForwardVoter

java.lang.Object
  extended by info.magnolia.voting.voters.BaseVoterImpl
      extended by info.magnolia.voting.voters.AbstractBoolVoter
          extended by info.magnolia.voting.voters.ForwardVoter
All Implemented Interfaces:
Voter

public class ForwardVoter
extends AbstractBoolVoter

This voter returns true if the request has been forwarded.

Version:
$Id: ForwardVoter.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
philipp

Field Summary
static java.lang.String FORWARD_REQUEST_URI_ATTRIBUTE
          The request attribute under which the original request URI is stored on an forwarded dispatcher request.
 
Constructor Summary
ForwardVoter()
           
 
Method Summary
protected  boolean boolVote(java.lang.Object value)
           
 
Methods inherited from class info.magnolia.voting.voters.AbstractBoolVoter
getFalseValue, getLevel, getTrueValue, isNot, setFalseValue, setLevel, setNot, setTrueValue, toString, vote
 
Methods inherited from class info.magnolia.voting.voters.BaseVoterImpl
getName, isEnabled, setEnabled, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FORWARD_REQUEST_URI_ATTRIBUTE

public static final java.lang.String FORWARD_REQUEST_URI_ATTRIBUTE
The request attribute under which the original request URI is stored on an forwarded dispatcher request.

See Also:
Constant Field Values
Constructor Detail

ForwardVoter

public ForwardVoter()
Method Detail

boolVote

protected boolean boolVote(java.lang.Object value)
Specified by:
boolVote in class AbstractBoolVoter


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.