com.caucho.rewrite
Class IfServerName

java.lang.Object
  extended by com.caucho.rewrite.IfServerName
All Implemented Interfaces:
RequestPredicate

@Configurable
public class IfServerName
extends java.lang.Object
implements RequestPredicate

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

IfServerName

public IfServerName()
Method Detail

setRegexp

public void setRegexp(java.util.regex.Pattern regexp)

init

@PostConstruct
public void init()

isMatch

public boolean isMatch(HttpServletRequest request)
Specified by:
isMatch in interface RequestPredicate