Class IdCookieSerialiser


  • @Singleton
    public class IdCookieSerialiser
    extends java.lang.Object
    This class offers methods to turn an JATOS ID cookie into a string that can be put into an URL header.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String COOKIE_AND  
      protected static java.lang.String COOKIE_EQUALS  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String asCookieValueString​(IdCookieModel idCookie)
      Takes an IdCookieModel and put its fields into a String for an cookie value: key=value&key=value&...
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdCookieSerialiser

        public IdCookieSerialiser()
    • Method Detail

      • asCookieValueString

        public java.lang.String asCookieValueString​(IdCookieModel idCookie)
        Takes an IdCookieModel and put its fields into a String for an cookie value: key=value&key=value&... (similar to a URL query).