Constructor and Description |
---|
HttpSession(String id) |
Modifier and Type | Method and Description |
---|---|
<T> T |
attribute(String name) |
void |
attribute(String name,
Object value) |
Map<String,Object> |
attributes() |
long |
created() |
long |
expired() |
String |
id() |
void |
removeAttribute(String name) |
void |
setCreated(long created) |
void |
setExpired(long expired) |
void |
setIp(String ip) |
public HttpSession(String id)
public void setIp(String ip)
public void setCreated(long created)
public void setExpired(long expired)
public Map<String,Object> attributes()
attributes
in interface Session
public void removeAttribute(String name)
removeAttribute
in interface Session
Copyright © 2017. All rights reserved.