Skip to content

req.cookie(String) should returns a Mutant (not a cookie) #160

@jknack

Description

@jknack

Access to a cookie is odd and tedious:

String value = req.cookie("my-cookie").get().value().get();

That's bc the cookie method returns an: Optional<Cookie> when it should be a Mutant

String value = req.cookie("my-cookie").value();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions