Interface InterceptorContext.TransientStorage

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean contains​(java.lang.Object key)
      Allows you to check if a given key is present in the storage.
      java.lang.Object get​(java.lang.Object key)
      Get value from the storage.
      void put​(java.lang.Object key, java.lang.Object value)
      Put value in the storage
      void remove​(java.lang.Object key)
      Removes value assigned with a given key.
    • Method Detail

      • get

        java.lang.Object get​(java.lang.Object key)
        Get value from the storage.
        Parameters:
        key - attribute's key
        Returns:
        value assigned with the key or null if there is no value
        Throws:
        java.lang.NullPointerException - if key is null
      • put

        void put​(java.lang.Object key,
                 java.lang.Object value)
        Put value in the storage
        Parameters:
        key - attribute's key
        value - value to be store
        Throws:
        java.lang.NullPointerException - if key or value is null
      • contains

        boolean contains​(java.lang.Object key)
        Allows you to check if a given key is present in the storage.
        Parameters:
        key - attribute's key
        Returns:
        true if the key is present in the storage
        Throws:
        java.lang.NullPointerException - if key is null
      • remove

        void remove​(java.lang.Object key)
        Removes value assigned with a given key.
        Parameters:
        key - attribute's key
        Throws:
        java.lang.NullPointerException - if key is null