public class ELRequestMatcher extends Object implements RequestMatcher
With the default EvaluationContext (ELRequestMatcherContext) you can use
hasIpAdress() and hasHeader()
| 构造器和说明 |
|---|
ELRequestMatcher(String el) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.expression.EvaluationContext |
createELContext(javax.servlet.http.HttpServletRequest request)
Subclasses can override this methode if they want to use a different EL root context
|
boolean |
matches(javax.servlet.http.HttpServletRequest request)
Decides whether the rule implemented by the strategy matches the supplied request.
|
public ELRequestMatcher(String el)
public boolean matches(javax.servlet.http.HttpServletRequest request)
RequestMatchermatches 在接口中 RequestMatcherrequest - the request to check for a matchpublic org.springframework.expression.EvaluationContext createELContext(javax.servlet.http.HttpServletRequest request)
Copyright © 2016. All rights reserved.