|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.magnolia.voting.voters.BaseVoterImpl
info.magnolia.voting.voters.AbstractBoolVoter
info.magnolia.voting.voters.ResponseContentTypeVoter
public class ResponseContentTypeVoter
A voter which checks the content type set on the response
object against a list of allowed and/or rejected content types.
Constructor Summary
ResponseContentTypeVoter()
Method Summary
void
addAllowed(java.lang.String contentType)
void
addRejected(java.lang.String contentType)
protected boolean
boolVote(java.lang.Object value)
java.util.List
getAllowed()
java.util.List
getRejected()
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
Constructor Detail
ResponseContentTypeVoter
public ResponseContentTypeVoter()
Method Detail
getAllowed
public java.util.List getAllowed()
addAllowed
public void addAllowed(java.lang.String contentType)
getRejected
public java.util.List getRejected()
addRejected
public void addRejected(java.lang.String contentType)
boolVote
protected boolean boolVote(java.lang.Object value)
boolVote
in class AbstractBoolVoter
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.