类 AbstractWebRequestRule<T>
- java.lang.Object
-
- io.microsphere.spring.web.rule.AbstractWebRequestRule<T>
-
- 所有已实现的接口:
WebRequestRule
- 直接已知子类:
WebRequestConsumesRule
,WebRequestHeadersRule
,WebRequestMethodsRule
,WebRequestParamsRule
,WebRequestPattensRule
,WebRequestProducesRule
public abstract class AbstractWebRequestRule<T> extends java.lang.Object implements WebRequestRule
AbstractWebRequestRule
- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
-
-
构造器概要
构造器 构造器 说明 AbstractWebRequestRule()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 boolean
equals(java.lang.Object other)
protected abstract java.util.Collection<T>
getContent()
Return the discrete items a request condition is composed of.protected abstract java.lang.String
getToStringInfix()
The notation to use when printing discrete items of content.int
hashCode()
boolean
isEmpty()
Indicates whether this condition is empty, i.e. whether it contains any discrete items.java.lang.String
toString()
-
从接口继承的方法 io.microsphere.spring.web.rule.WebRequestRule
matches
-
-
-
-
方法详细资料
-
isEmpty
public boolean isEmpty()
Indicates whether this condition is empty, i.e. whether it contains any discrete items.- 返回:
true
if empty;false
otherwise
-
getContent
protected abstract java.util.Collection<T> getContent()
Return the discrete items a request condition is composed of.For example URL patterns, HTTP request methods, param expressions, etc.
- 返回:
- a collection of objects (never
null
)
-
getToStringInfix
protected abstract java.lang.String getToStringInfix()
The notation to use when printing discrete items of content.For example
" || "
for URL patterns or" && "
for param expressions.
-
equals
public boolean equals(@Nullable java.lang.Object other)
- 覆盖:
equals
在类中java.lang.Object
-
hashCode
public int hashCode()
- 覆盖:
hashCode
在类中java.lang.Object
-
toString
public java.lang.String toString()
- 覆盖:
toString
在类中java.lang.Object
-
-