public interface Context
Modifier and Type | Method and Description |
---|---|
void |
addRequestListener(javax.servlet.ServletRequestListener listener) |
void |
addSessionListener(javax.servlet.http.HttpSessionListener listener)
Adds the specified session listener to this context.
|
int |
getActiveSessionCount()
Returns the number of active sessions for this context.
|
Host |
getHost() |
String |
getPath()
Returns the context path.
|
boolean |
isDistributable()
Indicates whether this context is distributable.
|
boolean |
isStarted() |
void |
removeRequestListener(javax.servlet.ServletRequestListener listener) |
void |
removeSessionListener(javax.servlet.http.HttpSessionListener listener)
Removes the specified session listener to this context.
|
Host getHost()
String getPath()
boolean isStarted()
void addRequestListener(javax.servlet.ServletRequestListener listener)
listener
- void removeRequestListener(javax.servlet.ServletRequestListener listener)
listener
- void addSessionListener(javax.servlet.http.HttpSessionListener listener)
listener
- a session listenervoid removeSessionListener(javax.servlet.http.HttpSessionListener listener)
listener
- a session listenerint getActiveSessionCount()
boolean isDistributable()
Copyright © 2023 JBoss by Red Hat. All rights reserved.