public class HttpSessionImpl extends Object implements jakarta.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,
jakarta.servlet.ServletContext servletContext,
boolean newSession) |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
jakarta.servlet.ServletContext |
getServletContext() |
Session |
getSession() |
jakarta.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, jakarta.servlet.ServletContext servletContext, boolean newSession)
public long getCreationTime()
getCreationTime in interface jakarta.servlet.http.HttpSessionpublic String getId()
getId in interface jakarta.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface jakarta.servlet.http.HttpSessionpublic jakarta.servlet.ServletContext getServletContext()
getServletContext in interface jakarta.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int interval)
setMaxInactiveInterval in interface jakarta.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface jakarta.servlet.http.HttpSessionpublic jakarta.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface jakarta.servlet.http.HttpSessionpublic Object getAttribute(String name)
getAttribute in interface jakarta.servlet.http.HttpSessionpublic Object getValue(String name)
getValue in interface jakarta.servlet.http.HttpSessionpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface jakarta.servlet.http.HttpSessionpublic String[] getValueNames()
getValueNames in interface jakarta.servlet.http.HttpSessionpublic void setAttribute(String name, Object value)
setAttribute in interface jakarta.servlet.http.HttpSessionpublic void putValue(String name, Object value)
putValue in interface jakarta.servlet.http.HttpSessionpublic void removeAttribute(String name)
removeAttribute in interface jakarta.servlet.http.HttpSessionpublic void removeValue(String name)
removeValue in interface jakarta.servlet.http.HttpSessionpublic void invalidate()
invalidate in interface jakarta.servlet.http.HttpSessionpublic boolean isNew()
isNew in interface jakarta.servlet.http.HttpSessionpublic Session getSession()
public boolean isInvalid()
Copyright © 2022 JBoss by Red Hat. All rights reserved.