@Target(value={PARAMETER,METHOD}) @Retention(value=RUNTIME) public @interface CookieParam
See the following example:
..@GET@Path("test") public String testOperation(@CookieParam("cookieName") String value) { return null; }
The cookie cookieName will be bound to the value parameter when processing this method invocation.
public abstract String value
Copyright © 2016. All rights reserved.