|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.rewrite.IfServerName
@Configurable public class IfServerName
A rewrite condition that passes if the server name matches.
Constructor Summary | |
---|---|
IfServerName()
|
Method Summary | |
---|---|
void |
init()
|
boolean |
isMatch(HttpServletRequest request)
|
void |
setRegexp(java.util.regex.Pattern regexp)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IfServerName()
Method Detail |
---|
public void setRegexp(java.util.regex.Pattern regexp)
@PostConstruct public void init()
public boolean isMatch(HttpServletRequest request)
isMatch
in interface RequestPredicate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |