net.sf.jguard.jee.authentication.http
Class HttpServletScopes
java.lang.Object
net.sf.jguard.core.technology.AbstractScopes<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
net.sf.jguard.jee.authentication.http.HttpServletScopes
- All Implemented Interfaces:
- Scopes, StatefulScopes
public class HttpServletScopes
- extends AbstractScopes<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
- implements StatefulScopes
- Author:
- Charles Gay
|
Constructor Summary |
HttpServletScopes(Request<javax.servlet.http.HttpServletRequest> request,
Response<javax.servlet.http.HttpServletResponse> response)
Creates a new instance of HttpServletScopes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServletScopes
@Inject
public HttpServletScopes(Request<javax.servlet.http.HttpServletRequest> request,
Response<javax.servlet.http.HttpServletResponse> response)
- Creates a new instance of HttpServletScopes
- Parameters:
request - response -
getSessionAttribute
public Object getSessionAttribute(String key)
- Specified by:
getSessionAttribute in interface StatefulScopes
getSessionAttributeNames
public Iterator<String> getSessionAttributeNames()
- Specified by:
getSessionAttributeNames in interface StatefulScopes
setSessionAttribute
public void setSessionAttribute(String key,
Object value)
- Specified by:
setSessionAttribute in interface StatefulScopes
removeSessionAttribute
public void removeSessionAttribute(String key)
- Specified by:
removeSessionAttribute in interface StatefulScopes
removeApplicationAttribute
public void removeApplicationAttribute(String key)
- Specified by:
removeApplicationAttribute in interface Scopes
removeRequestAttribute
public void removeRequestAttribute(String key)
- Specified by:
removeRequestAttribute in interface Scopes
setRequestAttribute
public void setRequestAttribute(String key,
Object value)
- Specified by:
setRequestAttribute in interface Scopes
setApplicationAttribute
public void setApplicationAttribute(String key,
Object value)
- Specified by:
setApplicationAttribute in interface Scopes
getRequestAttribute
public Object getRequestAttribute(String key)
- Specified by:
getRequestAttribute in interface Scopes
getApplicationAttribute
public Object getApplicationAttribute(String key)
- Specified by:
getApplicationAttribute in interface Scopes
invalidateSession
public void invalidateSession()
- Specified by:
invalidateSession in interface StatefulScopes
getInitApplicationAttribute
public String getInitApplicationAttribute(String key)
- Specified by:
getInitApplicationAttribute in interface Scopes
Copyright © 2004-2011. All Rights Reserved.