public class ServerPort extends HttpCondition
ServletRequest.getServerPort()| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateHttp(HttpServletRewrite event,
EvaluationContext context) |
static ServerPort |
is(int... ports)
Assert that the server port matches any of the given ports.
|
evaluatepublic static ServerPort is(int... ports)
public boolean evaluateHttp(HttpServletRewrite event, EvaluationContext context)
evaluateHttp in class HttpConditionCopyright © 2013 OCPsoft. All Rights Reserved.