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 44893 2011-05-10 07:33:22Z dlipp $
Author:
philipp

Field Summary
static 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(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 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(Object value)
Specified by:
boolVote in class AbstractBoolVoter


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