public class Cookie extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Cookie.Builder |
Constructor and Description |
---|
Cookie(String name,
String value,
String comment,
String domain,
int maxAge,
String path,
boolean secure,
boolean httpOnly) |
Modifier and Type | Method and Description |
---|---|
static Cookie.Builder |
builder(Cookie like) |
static Cookie.Builder |
builder(String name,
String value) |
boolean |
equals(Object o) |
String |
getComment() |
String |
getDomain() |
int |
getMaxAge() |
String |
getName() |
String |
getPath() |
String |
getValue() |
int |
hashCode() |
boolean |
isHttpOnly() |
boolean |
isSecure() |
public String getName()
public String getValue()
public String getComment()
public String getDomain()
public int getMaxAge()
public String getPath()
public boolean isSecure()
public boolean isHttpOnly()
public static Cookie.Builder builder(String name, String value)
public static Cookie.Builder builder(Cookie like)
Copyright © 2019 ninjaframework. All rights reserved.