Class IdCookieCollection


  • public class IdCookieCollection
    extends java.lang.Object
    Wrapper around a collection of JATOS ID cookies. Adds some useful methods. The number of ID cookies is limited by the jatos.idCookies.limit value in the jatos.conf.
    • Constructor Detail

      • IdCookieCollection

        public IdCookieCollection()
    • Method Detail

      • isFull

        protected boolean isFull()
      • size

        protected int size()
      • getAll

        protected java.util.Collection<IdCookieModel> getAll()
      • findWithStudyResultId

        protected IdCookieModel findWithStudyResultId​(long studyResultId)
        Returns the ID cookie to which the specified study result ID is mapped, or null if nothing maps to the ID.
      • toString

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