com.caucho.rewrite
Class IfServerPort

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

public class IfServerPort
extends java.lang.Object
implements RequestPredicate

A rewrite condition that passes if the request.getServerPort() matches.


Constructor Summary
IfServerPort()
           
 
Method Summary
 void init()
           
 boolean isMatch(HttpServletRequest request)
           
 void setValue(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfServerPort

public IfServerPort()
Method Detail

setValue

public void setValue(int value)

init

@PostConstruct
public void init()

isMatch

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