info.magnolia.voting.voters
Class ForwardVoter

java.lang.Object
  extended by info.magnolia.voting.voters.BaseVoterImpl<T>
      extended by info.magnolia.voting.voters.AbstractBoolVoter<javax.servlet.http.HttpServletRequest>
          extended by info.magnolia.voting.voters.ForwardVoter
All Implemented Interfaces:
Voter<javax.servlet.http.HttpServletRequest>

public class ForwardVoter
extends AbstractBoolVoter<javax.servlet.http.HttpServletRequest>

This voter returns true if the request has been forwarded.


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(javax.servlet.http.HttpServletRequest request)
           
 
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(javax.servlet.http.HttpServletRequest request)
Specified by:
boolVote in class AbstractBoolVoter<javax.servlet.http.HttpServletRequest>


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