Java Doc for HttpSetCookie.java in  » Web-Server » Jigsaw » org » w3c » www » http » 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 » Jigsaw » org.w3c.www.http 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.w3c.www.http.HttpSetCookie

HttpSetCookie
public class HttpSetCookie (Code)


Field Summary
protected  Stringcomment
     The cookie's comment.
protected  Stringdomain
     The cookie's domain name.
protected  intmaxage
     The cookie's max age.
protected  Stringname
     The cookie's name.
protected  Stringpath
     The cookie's associated path.
protected  booleansecurity
    
protected  Stringvalue
    
protected  intversion
     This cookie's version.

Constructor Summary
public  HttpSetCookie(boolean isValid, String name, String value)
    
public  HttpSetCookie(String name, String value)
    
public  HttpSetCookie()
    

Method Summary
public  StringgetComment()
     Get this SetCookie attached comment.
public  StringgetDomain()
     Get the domain to which this cookie applies.
public  intgetMaxAge()
     Get the max age value for this cookie.
public  StringgetName()
     Get this SetCookie cookie's name.
public  StringgetPath()
     Get the path in which this cookie will apply.
public  booleangetSecurity()
     Get the security requirement atttached to that cookie.
public  StringgetValue()
     Get the value associated with this SetCookie.
public  intgetVersion()
     Get the SetCookie version number.
public  voidsetComment(String comment)
     Set this SetCookie attached comment.
public  voidsetDomain(String domain)
     Define the domain for this SetCookie.
public  voidsetMaxAge(int maxage)
     Set the max age value for this cookie.
public  voidsetName(String name)
     Set this SetCookie name.
public  voidsetPath(String path)
     Set the path to which this SetCookie applies.
public  voidsetSecurity(boolean onoff)
     Mark/unmark this SetCookie as requiring special security when emited back by the client.
public  voidsetValue(String value)
     Set this SetCookie cookie's value.
public  voidsetVersion(int version)
     Set the SetCookie version number.
public  StringtoString()
    

Field Detail
comment
protected String comment(Code)
The cookie's comment.



domain
protected String domain(Code)
The cookie's domain name.



maxage
protected int maxage(Code)
The cookie's max age.



name
protected String name(Code)
The cookie's name.



path
protected String path(Code)
The cookie's associated path.



security
protected boolean security(Code)
Does this cookie requires special security care by client ?



value
protected String value(Code)



version
protected int version(Code)
This cookie's version.




Constructor Detail
HttpSetCookie
public HttpSetCookie(boolean isValid, String name, String value)(Code)



HttpSetCookie
public HttpSetCookie(String name, String value)(Code)



HttpSetCookie
public HttpSetCookie()(Code)




Method Detail
getComment
public String getComment()(Code)
Get this SetCookie attached comment. A String describing the reason for this SetCookie, ornull.



getDomain
public String getDomain()(Code)
Get the domain to which this cookie applies. The string encoding of the domain to which this cookie appliesor null if undefined.



getMaxAge
public int getMaxAge()(Code)
Get the max age value for this cookie. A integer number of seconds giving the maximum age allowed forthis cookie, or -1 if undefined.



getName
public String getName()(Code)
Get this SetCookie cookie's name. A String giving the cookie's name.



getPath
public String getPath()(Code)
Get the path in which this cookie will apply. The path to which this cookie applies, encoded as a String, ornull if undefined.



getSecurity
public boolean getSecurity()(Code)
Get the security requirement atttached to that cookie. A boolean, true if the cookie requiresspecial care from the client, false otherwise.



getValue
public String getValue()(Code)
Get the value associated with this SetCookie. The value, encoded as a String, or null ifundefined.



getVersion
public int getVersion()(Code)
Get the SetCookie version number. An integer giving the version number of this cookie.



setComment
public void setComment(String comment)(Code)
Set this SetCookie attached comment.
Parameters:
  comment - A String giving the comments attached to that SetCookie,or null to reset the value.



setDomain
public void setDomain(String domain)(Code)
Define the domain for this SetCookie.
Parameters:
  domain - The String encoded domain name to which this cookie willapply.



setMaxAge
public void setMaxAge(int maxage)(Code)
Set the max age value for this cookie.
Parameters:
  maxage - The max age value for this cookie, given as a number ofseconds, or -1 to reset value.



setName
public void setName(String name)(Code)
Set this SetCookie name.
Parameters:
  name - The name of the cookie, encoded as a String.



setPath
public void setPath(String path)(Code)
Set the path to which this SetCookie applies.
Parameters:
  path - The path, encoded as a String.



setSecurity
public void setSecurity(boolean onoff)(Code)
Mark/unmark this SetCookie as requiring special security when emited back by the client.
Parameters:
  onoff - A boolean, true if the cookie thatresults should be emited with special care, falseotherwise.



setValue
public void setValue(String value)(Code)
Set this SetCookie cookie's value.
Parameters:
  value - The value, encoded as a printable String, or null to reset the value.



setVersion
public void setVersion(int version)(Code)
Set the SetCookie version number.
Parameters:
  version - The version number of this SetCookie.



toString
public String toString()(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.