Module io.jooby

Annotation Interface CookieParam


@Retention(RUNTIME) @Target(PARAMETER) public @interface CookieParam
Allow access to query parameter from MVC route method.

 public String search(@CookieParam String sessionId) {
   ...
 }
 
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Parameter name.
  • Element Details

    • value

      String value
      Parameter name.
      Returns:
      Parameter name.
      Default:
      ""