public class HttpSessionImpl extends Object implements javax.servlet.http.HttpSession
Modifier and Type | Class and Description |
---|---|
static class | HttpSessionImpl.UnwrapSessionAction |
Modifier and Type | Field and Description |
---|---|
static String | IO_UNDERTOW |
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object o) |
static HttpSessionImpl | forSession(Session session, javax.servlet.ServletContext servletContext, boolean newSession) |
Object | getAttribute(String name) |
Enumeration<String> | getAttributeNames() |
long | getCreationTime() |
String | getId() |
long | getLastAccessedTime() |
int | getMaxInactiveInterval() |
javax.servlet.ServletContext | getServletContext() |
Session | getSession() |
javax.servlet.http.HttpSessionContext | getSessionContext() |
Object | getValue(String name) |
String[] | getValueNames() |
int | hashCode() |
void | invalidate() |
boolean | isInvalid() |
boolean | isNew() |
void | putValue(String name, Object value) |
void | removeAttribute(String name) |
void | removeValue(String name) |
void | setAttribute(String name, Object value) |
void | setMaxInactiveInterval(int interval) |
public static final String IO_UNDERTOW
public static HttpSessionImpl forSession(Session session, javax.servlet.ServletContext servletContext, boolean newSession)
public long getCreationTime()
getCreationTime
in interface javax.servlet.http.HttpSession
public String getId()
getId
in interface javax.servlet.http.HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface javax.servlet.http.HttpSession
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
public Object getAttribute(String name)
getAttribute
in interface javax.servlet.http.HttpSession
public Object getValue(String name)
getValue
in interface javax.servlet.http.HttpSession
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
public String[] getValueNames()
getValueNames
in interface javax.servlet.http.HttpSession
public void setAttribute(String name, Object value)
setAttribute
in interface javax.servlet.http.HttpSession
public void putValue(String name, Object value)
putValue
in interface javax.servlet.http.HttpSession
public void removeAttribute(String name)
removeAttribute
in interface javax.servlet.http.HttpSession
public void removeValue(String name)
removeValue
in interface javax.servlet.http.HttpSession
public void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
public boolean isNew()
isNew
in interface javax.servlet.http.HttpSession
public Session getSession()
public boolean isInvalid()
Copyright © 2020 JBoss by Red Hat. All rights reserved.