Class RequestCookieProducer


  • @Dependent
    public class RequestCookieProducer
    extends Object

    Producer for injecting a Faces request cookie as defined by the @Cookie annotation.

    Since:
    2.1
    Author:
    Bauke Scholtz
    • Constructor Detail

      • RequestCookieProducer

        public RequestCookieProducer()
    • Method Detail

      • produce

        @Produces
        public String produce​(InjectionPoint injectionPoint)
        Returns cookie value associated with cookie name derived from given injection point.
        Parameters:
        injectionPoint - Injection point to derive cookie name from.
        Returns:
        Cookie value associated with cookie name derived from given injection point.