|
rewrite-impl-servlet 1.0.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.config.ConditionBuilder
org.ocpsoft.rewrite.servlet.config.HttpCondition
org.ocpsoft.rewrite.servlet.config.ServerPort
public class ServerPort
Responsible for asserting on the ServletRequest.getServerPort()
| Method Summary | |
|---|---|
boolean |
evaluateHttp(HttpServletRewrite event,
EvaluationContext context)
|
static ServerPort |
is(int... ports)
Assert that the server port matches any of the given ports. |
| Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpCondition |
|---|
evaluate |
| Methods inherited from class org.ocpsoft.rewrite.config.ConditionBuilder |
|---|
and, andNot, or, orNot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ServerPort is(int... ports)
public boolean evaluateHttp(HttpServletRewrite event,
EvaluationContext context)
evaluateHttp in class HttpCondition
|
rewrite-impl-servlet 1.0.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||