Package org.actioncontroller.values
Annotation Type UnencryptedCookie
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface UnencryptedCookie
Maps the parameter to the specified HTTP request cookie, URL decoding and converting the type if necessary. If the session parameter is missing, aborts the request with 401 Unauthorized, unless the parameter type is Optional. If the parameter type is Consumer, calling parameter.accept() sets the cookie value instead of returning it converting the type and URL encoding.- See Also:
HttpParameterMapping
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanisHttpOnlyIf false, omits the HttpOnly flag on the cookie, meaning that the cookie can be read by client-side JavaScript.booleansecureIf false, omits the Secure flag on the cookie, meaning that the cookie will be sent over HTTP as well as HTTPS.
-
-
-
Element Detail
-
value
String value
The name of the cookie
-
-