Package ninja
Class Cookie
- java.lang.Object
-
- ninja.Cookie
-
public class Cookie extends Object
An HTTP cookie- Author:
- James Roper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Cookie.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Cookie.Builder
builder(String name, String value)
static Cookie.Builder
builder(Cookie like)
boolean
equals(Object o)
String
getComment()
String
getDomain()
int
getMaxAge()
String
getName()
String
getPath()
String
getValue()
int
hashCode()
boolean
isHttpOnly()
boolean
isSecure()
-
-
-
Method Detail
-
getName
public String getName()
-
getValue
public String getValue()
-
getComment
public String getComment()
-
getDomain
public String getDomain()
-
getMaxAge
public int getMaxAge()
-
getPath
public String getPath()
-
isSecure
public boolean isSecure()
-
isHttpOnly
public boolean isHttpOnly()
-
builder
public static Cookie.Builder builder(String name, String value)
-
builder
public static Cookie.Builder builder(Cookie like)
-
-