info.magnolia.voting.voters
Class RequestHasParametersVoter
java.lang.Object
info.magnolia.voting.voters.BaseVoterImpl<T>
info.magnolia.voting.voters.AbstractBoolVoter
info.magnolia.voting.voters.RequestHasParametersVoter
- All Implemented Interfaces:
- Voter
public class RequestHasParametersVoter
- extends AbstractBoolVoter
Checks if the request used the "POST" method or if there are request parameters.
Typed to Object, as it can vote on both a passed HttpServletRequest,
or the current MgnlContext.webContext if any.
RequestHasParametersVoter
public RequestHasParametersVoter()
boolVote
protected boolean boolVote(Object value)
- Specified by:
boolVote
in class AbstractBoolVoter
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.