Java Doc for RimfaxeHttpSession.java in  » Web-Server » Rimfaxe-Web-Server » com » rimfaxe » webserver » servletapi » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Rimfaxe Web Server » com.rimfaxe.webserver.servletapi 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.rimfaxe.webserver.servletapi.RimfaxeHttpSession

RimfaxeHttpSession
public class RimfaxeHttpSession implements HttpSession(Code)



Constructor Summary
public  RimfaxeHttpSession(Cookie cookie, com.rimfaxe.webserver.WebContext ctx)
    

Method Summary
public  ObjectgetAttribute(String name)
     Returns the object bound with the specified name in this session, or null if no object is bound under the name.
public  EnumerationgetAttributeNames()
     Returns an Enumeration of String objects containing the names of all the objects bound to this session.
protected  CookiegetCookie()
    
public  longgetCreationTime()
     Returns the time at which this session representation was created, in milliseconds since midnight, January 1, 1970 UTC.
public  StringgetId()
     Returns the identifier assigned to this session.
public  longgetLastAccessedTime()
     Returns the last time the client sent a request carrying the identifier assigned to the session.
public  intgetMaxInactiveInterval()
    
public  javax.servlet.ServletContextgetServletContext()
    
public  HttpSessionContextgetSessionContext()
     Returns the context in which this session is bound.
public  ObjectgetValue(String name)
     Returns the object bound to the given name in the session's application layer data.
public  String[]getValueNames()
     Returns an array of the names of all the application layer data objects bound into the session.
public  booleanhasExpired()
    
public  voidinvalidate()
     Causes this representation of the session to be invalidated and removed from its context.
public  booleanisNew()
     A session is considered to be "new" if it has been created by the server, but the client has not yet acknowledged joining the session.
protected  booleanisValid()
    
public  voidputValue(String name, Object value)
     Binds the specified object into the session's application layer data with the given name.
public  voidremoveAttribute(String name)
     Removes the object bound with the specified name from this session.
public  voidremoveValue(String name)
     Removes the object bound to the given name in the session's application layer data.
public  voidsetAttribute(String name, Object value)
     Binds an object to this session, using the name specified.
public  voidsetID(String id)
    
public  voidsetLastAccessedTime()
    
public  voidsetMaxInactiveInterval(int interval)
    
protected  voidsetNoMoreNew()
    
protected  voidvalueBound(HttpSessionBindingListener value, String name)
    
protected  voidvalueUnbound(HttpSessionBindingListener value, String name)
    


Constructor Detail
RimfaxeHttpSession
public RimfaxeHttpSession(Cookie cookie, com.rimfaxe.webserver.WebContext ctx)(Code)




Method Detail
getAttribute
public Object getAttribute(String name)(Code)
Returns the object bound with the specified name in this session, or null if no object is bound under the name.
Parameters:
  name - a string specifying the name of the object the object with the specified name



getAttributeNames
public Enumeration getAttributeNames()(Code)
Returns an Enumeration of String objects containing the names of all the objects bound to this session. an Enumeration of String objects specifying the names of all the objects bound to this session



getCookie
protected Cookie getCookie()(Code)



getCreationTime
public long getCreationTime()(Code)
Returns the time at which this session representation was created, in milliseconds since midnight, January 1, 1970 UTC. the time when the session was created



getId
public String getId()(Code)
Returns the identifier assigned to this session. An HttpSession's identifier is a unique string that is created and maintained by HttpSessionContext. the identifier assigned to this session



getLastAccessedTime
public long getLastAccessedTime()(Code)
Returns the last time the client sent a request carrying the identifier assigned to the session. Time is expressed as milliseconds since midnight, January 1, 1970 UTC. Application level operations, such as getting or setting a value associated with the session, does not affect the access time. the last time the client sent a request carrying the identifierassigned to the session.



getMaxInactiveInterval
public int getMaxInactiveInterval()(Code)



getServletContext
public javax.servlet.ServletContext getServletContext()(Code)



getSessionContext
public HttpSessionContext getSessionContext()(Code)
Returns the context in which this session is bound. the context in which this session is bound.



getValue
public Object getValue(String name)(Code)
Returns the object bound to the given name in the session's application layer data. Returns null if there is no such binding.
Parameters:
  name - - the name of the binding to find the value bound to that name, or null if the binding does not exist.



getValueNames
public String[] getValueNames()(Code)
Returns an array of the names of all the application layer data objects bound into the session. For example, if you want to delete all of the data objects bound into the session, use this method to obtain their names. an array containing the names of all of the application layerdata objects bound into the session



hasExpired
public boolean hasExpired()(Code)



invalidate
public void invalidate()(Code)
Causes this representation of the session to be invalidated and removed from its context.



isNew
public boolean isNew()(Code)
A session is considered to be "new" if it has been created by the server, but the client has not yet acknowledged joining the session. For example, if the server supported only cookie-based sessions and the client had completely disabled the use of cookies, then calls to HttpServletRequest.getSession() would always return "new" sessions. true if the session has been created by the server but the client has not yet acknowledged joining the session; false otherwise



isValid
protected boolean isValid()(Code)



putValue
public void putValue(String name, Object value)(Code)
Binds the specified object into the session's application layer data with the given name. Any existing binding with the same name is replaced. New (or existing) values that implement the HttpSessionBindingListener interface will call its valueBound() method.
Parameters:
  name - - the name to which the data object will be bound. This parameter cannot be null.
Parameters:
  value - - the data object to be bound. This parameter cannot be null.



removeAttribute
public void removeAttribute(String name)(Code)
Removes the object bound with the specified name from this session. If the session does not have an object bound with the specified name, this method does nothing.

After this method executes, and if the object implements HttpSessionBindingListener, the container calls HttpSessionBindingListener.valueUnbound.
Parameters:
  name - the name of the object to remove from this session




removeValue
public void removeValue(String name)(Code)
Removes the object bound to the given name in the session's application layer data. Does nothing if there is no object bound to the given name. The value that implements the HttpSessionBindingListener interface will call its valueUnbound() method.
Parameters:
  name - - the name of the object to remove



setAttribute
public void setAttribute(String name, Object value)(Code)
Binds an object to this session, using the name specified. If an object of the same name is already bound to the session, the object is replaced.

After this method executes, and if the object implements HttpSessionBindingListener, the container calls HttpSessionBindingListener.valueBound.
Parameters:
  name - the name to which the object is bound; cannot be null
Parameters:
  value - the object to be bound; cannot be null




setID
public void setID(String id)(Code)



setLastAccessedTime
public void setLastAccessedTime()(Code)



setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)(Code)



setNoMoreNew
protected void setNoMoreNew()(Code)



valueBound
protected void valueBound(HttpSessionBindingListener value, String name)(Code)



valueUnbound
protected void valueUnbound(HttpSessionBindingListener value, String name)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.