Class AbstractNameValueExpression<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      protected java.lang.String getExpression()
      Get the expression
      java.lang.String getName()  
      T getValue()  
      int hashCode()  
      protected boolean isCaseSensitiveName()
      Get the case-sensitivity of the name
      boolean isNegated()  
      boolean match​(org.springframework.web.context.request.NativeWebRequest request)  
      protected abstract boolean matchName​(org.springframework.web.context.request.NativeWebRequest request)  
      protected abstract boolean matchValue​(org.springframework.web.context.request.NativeWebRequest request)  
      protected abstract T parseValue​(java.lang.String valueExpression)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • expression

        protected final java.lang.String expression
      • caseSensitiveName

        protected final boolean caseSensitiveName
      • name

        protected final java.lang.String name
      • value

        @Nullable
        protected final T value
      • isNegated

        protected final boolean isNegated
    • Constructor Detail

      • AbstractNameValueExpression

        protected AbstractNameValueExpression​(@Nonnull
                                              java.lang.String expression)
      • AbstractNameValueExpression

        protected AbstractNameValueExpression​(@Nonnull
                                              java.lang.String expression,
                                              boolean caseSensitiveName)
    • Method Detail

      • getExpression

        protected final java.lang.String getExpression()
        Get the expression
        Returns:
        non-null
      • isCaseSensitiveName

        protected final boolean isCaseSensitiveName()
        Get the case-sensitivity of the name
        Returns:
        true if case-sensitive, false otherwise
      • match

        public final boolean match​(org.springframework.web.context.request.NativeWebRequest request)
      • parseValue

        protected abstract T parseValue​(java.lang.String valueExpression)
      • matchName

        protected abstract boolean matchName​(org.springframework.web.context.request.NativeWebRequest request)
      • matchValue

        protected abstract boolean matchValue​(org.springframework.web.context.request.NativeWebRequest request)
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object