@Test void testIsHttpOnly() { Cookie cookie = new Cookie("name", "value"); assertFalse(cookie.isHttpOnly()); cookie.setHttpOnly(true); assertTrue(cookie.isHttpOnly()); }
public boolean isHttpOnly() { return httpOnly; }
Cookie implements Cloneable, Serializable { public boolean isHttpOnly() { return httpOnly; } }
Cookie implements Cloneable, Serializable { public boolean isHttpOnly() { return httpOnly; } Cookie(String name, String value); }
Cookie implements Cloneable, Serializable { public boolean isHttpOnly() { return httpOnly; } Cookie(String name, String value); @Override Object clone(); String getComment(); String getDomain(); int getMaxAge(); String getName(); String getPath(); boolean getSecure(); String getValue(); int getVersion(); boolean isHttpOnly(); void setComment(String comment); void setDomain(String domain); void setHttpOnly(boolean httpOnly); void setMaxAge(int maxAge); void setPath(String path); void setSecure(boolean secure); void setValue(String value); void setVersion(int version); }
Cookie implements Cloneable, Serializable { public boolean isHttpOnly() { return httpOnly; } Cookie(String name, String value); @Override Object clone(); String getComment(); String getDomain(); int getMaxAge(); String getName(); String getPath(); boolean getSecure(); String getValue(); int getVersion(); boolean isHttpOnly(); void setComment(String comment); void setDomain(String domain); void setHttpOnly(boolean httpOnly); void setMaxAge(int maxAge); void setPath(String path); void setSecure(boolean secure); void setValue(String value); void setVersion(int version);  }