Annotation Type Cookie


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    @Documented
    public @interface Cookie
    Annotates a parameter of the view handler. A HTTP request cookie with the given name is passed in as parameter. If the parameter type is not a String, the value is converted to the parameter type.
    Author:
    Richard "Shred" Körber
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      Name of the cookie