info.magnolia.voting.voters
Class RequestHeaderPatternVoter
java.lang.Object
info.magnolia.voting.voters.BaseVoterImpl
info.magnolia.voting.voters.AbstractBoolVoter
info.magnolia.voting.voters.BasePatternVoter
info.magnolia.voting.voters.RequestHeaderPatternVoter
- All Implemented Interfaces:
- Voter
- Direct Known Subclasses:
- RequestHeaderPatternRegexVoter, RequestHeaderPatternSimpleVoter
public abstract class RequestHeaderPatternVoter
- extends BasePatternVoter
Voters which match the request headers against a pattern.
RequestHeaderPatternVoter
public RequestHeaderPatternVoter()
setHeaderName
public void setHeaderName(String headerName)
getHeaderName
public String getHeaderName()
resolveRequestHeaderFromValue
protected String resolveRequestHeaderFromValue(Object value,
String headerName)
- Retrieve the value of the specified header from the request.
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.