Class ExpressionCacheKey

java.lang.Object
org.thymeleaf.cache.ExpressionCacheKey
All Implemented Interfaces:
Serializable

public final class ExpressionCacheKey extends Object implements Serializable

This class models objects used as keys in the Expression Cache.

Objects of this class should only be created from inside the engine.

Since:
3.0.0
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • type

      private final String type
    • expression0

      private final String expression0
    • expression1

      private final String expression1
    • h

      private final int h
  • Constructor Details

    • ExpressionCacheKey

      public ExpressionCacheKey(String type, String expression0)
    • ExpressionCacheKey

      public ExpressionCacheKey(String type, String expression0, String expression1)
  • Method Details

    • getType

      public String getType()
    • getExpression0

      public String getExpression0()
    • getExpression1

      public String getExpression1()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • computeHashCode

      private int computeHashCode()
    • toString

      public String toString()
      Overrides:
      toString in class Object