Annotation Type Cookie


@Retention(CLASS) @Target(PARAMETER) public @interface Cookie
Binds an interface method parameter to a Cookie request-header entry. Multiple @Cookie-annotated parameters on the same method are joined into a single Cookie: a=1; b=2 header. null arguments are skipped; values are URL-encoded.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details