public class BSAccountUserWebSession
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
BSAccountUserWebSession() |
BSAccountUserWebSession(BSAccountUser bsuser)
Create a new session for this user.
|
Modifier and Type | Method and Description |
---|---|
BSAccountUser |
getUser()
Get the user attached to this session.
|
boolean |
isLoggedIn()
Is this session user logged in?
|
static boolean |
isWapDevice(javax.servlet.http.HttpServletRequest request)
Is this request coming in on a handheld phone thingy?
|
void |
setUser(BSAccountUser bsAccountUser) |
public BSAccountUserWebSession()
public BSAccountUserWebSession(BSAccountUser bsuser)
user
- The user who is logging in, or null for an anonymous userpublic BSAccountUser getUser()
public void setUser(BSAccountUser bsAccountUser)
public boolean isLoggedIn()
public static boolean isWapDevice(javax.servlet.http.HttpServletRequest request)
request
-