类 AbstractRequestCondition<T extends AbstractRequestCondition<T>>

    • 方法详细资料

      • isEmpty

        public boolean isEmpty()
        Indicates whether this condition is empty, i.e. whether or not it contains any discrete items.
        返回:
        true if empty; false otherwise
      • getContent

        protected abstract Collection<?> 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 String getToStringInfix()
        The notation to use when printing discrete items of content.

        For example " || " for URL patterns or " && " for param expressions.