Class NewCookie.Builder

Enclosing class:
NewCookie

public static class NewCookie.Builder extends NewCookie.AbstractNewCookieBuilder<NewCookie.Builder>
JAX-RS NewCookie builder class.

New Cookie builder provides methods that let you conveniently configure and subsequently build a new NewCookie instance.

For example:
 NewCookie cookie = new NewCookie.Builder("name")
         .path("/")
         .domain("domain.com")
         .sameSite(SameSite.LAX)
         .build();
 
Since:
3.1