Package ninja
Class Cookie.Builder
- java.lang.Object
-
- ninja.Cookie.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cookie
build()
Cookie.Builder
setComment(String comment)
Cookie.Builder
setDomain(String domain)
Cookie.Builder
setHttpOnly(boolean httpOnly)
Cookie.Builder
setMaxAge(int maxAge)
Cookie.Builder
setPath(String path)
Cookie.Builder
setSecure(boolean secure)
Cookie.Builder
setValue(String value)
-
-
-
Method Detail
-
build
public Cookie build()
-
setValue
public Cookie.Builder setValue(String value)
-
setComment
public Cookie.Builder setComment(String comment)
-
setDomain
public Cookie.Builder setDomain(String domain)
-
setMaxAge
public Cookie.Builder setMaxAge(int maxAge)
-
setPath
public Cookie.Builder setPath(String path)
-
setSecure
public Cookie.Builder setSecure(boolean secure)
-
setHttpOnly
public Cookie.Builder setHttpOnly(boolean httpOnly)
-
-