info.magnolia.voting.voters
Class DomainNameRegexVoter
java.lang.Object
info.magnolia.voting.voters.BaseVoterImpl
info.magnolia.voting.voters.AbstractBoolVoter
info.magnolia.voting.voters.DomainNameRegexVoter
- All Implemented Interfaces:
- Voter
public class DomainNameRegexVoter
- extends AbstractBoolVoter
Checks if the request has domain that matches configured regex.
DomainNameRegexVoter
public DomainNameRegexVoter()
boolVote
protected boolean boolVote(Object value)
- Specified by:
boolVote
in class AbstractBoolVoter
getDomain
public String getDomain()
setDomain
public void setDomain(String domain)
resolveDomain
protected String resolveDomain(javax.servlet.http.HttpServletRequest request)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.