org.jboss.seam.web
@Scope(value=SESSION) @Name(value="org.jboss.seam.web.session") @BypassInterceptors @Startup public class Session extends AbstractMutable
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
static Session |
getInstance() |
static Session |
instance() |
void |
invalidate()
Schedule HttpSession invalidation at the
end of the request.
|
boolean |
isInvalid()
Is HttpSession invalidation scheduled
for the end of this request?
|
boolean |
isInvalidateOnSchemeChange()
Is session invalidation on scheme change enabled?
|
boolean |
isInvalidDueToNewScheme(String requestScheme)
Should we invalidate the session due to a change in
the request scheme?
|
void |
setInvalidateOnSchemeChange(boolean invalidateOnSchemeChange)
Enable or disable session invalidation on scheme change?
|
clearDirty, setDirty, setDirty
public boolean isInvalid()
public void invalidate()
public boolean isInvalidDueToNewScheme(String requestScheme)
requestScheme
- the scheme of the current requestpublic boolean isInvalidateOnSchemeChange()
public void setInvalidateOnSchemeChange(boolean invalidateOnSchemeChange)
public static Session instance()
public static Session getInstance()
Copyright © 2015 Seam Framework. All Rights Reserved.