5
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
2 <!--NewPage-->
|
|
3 <HTML>
|
|
4 <HEAD>
|
|
5 <!-- Generated by javadoc (build 1.5.0_11) on Sat Aug 23 11:49:53 GMT+01:00 2008 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
7 <TITLE>
|
|
8 org.apache.http.cookie (HttpClient 4.0-beta1 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="keywords" CONTENT="org.apache.http.cookie package">
|
|
12
|
|
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
|
14
|
|
15 <SCRIPT type="text/javascript">
|
|
16 function windowTitle()
|
|
17 {
|
|
18 parent.document.title="org.apache.http.cookie (HttpClient 4.0-beta1 API)";
|
|
19 }
|
|
20 </SCRIPT>
|
|
21 <NOSCRIPT>
|
|
22 </NOSCRIPT>
|
|
23
|
|
24 </HEAD>
|
|
25
|
|
26 <BODY BGCOLOR="white" onload="windowTitle();">
|
|
27
|
|
28
|
|
29 <!-- ========= START OF TOP NAVBAR ======= -->
|
|
30 <A NAME="navbar_top"><!-- --></A>
|
|
31 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
32 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
33 <TR>
|
|
34 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
35 <A NAME="navbar_top_firstrow"><!-- --></A>
|
|
36 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
37 <TR ALIGN="center" VALIGN="top">
|
|
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
|
|
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
|
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
46 </TR>
|
|
47 </TABLE>
|
|
48 </TD>
|
|
49 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
50 </EM>
|
|
51 </TD>
|
|
52 </TR>
|
|
53
|
|
54 <TR>
|
|
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
56 <A HREF="../../../../org/apache/http/conn/util/package-summary.html"><B>PREV PACKAGE</B></A>
|
|
57 <A HREF="../../../../org/apache/http/cookie/params/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
|
|
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
59 <A HREF="../../../../index.html?org/apache/http/cookie/package-summary.html" target="_top"><B>FRAMES</B></A>
|
|
60 <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
|
61 <SCRIPT type="text/javascript">
|
|
62 <!--
|
|
63 if(window==top) {
|
|
64 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
65 }
|
|
66 //-->
|
|
67 </SCRIPT>
|
|
68 <NOSCRIPT>
|
|
69 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
70 </NOSCRIPT>
|
|
71
|
|
72
|
|
73 </FONT></TD>
|
|
74 </TR>
|
|
75 </TABLE>
|
|
76 <A NAME="skip-navbar_top"></A>
|
|
77 <!-- ========= END OF TOP NAVBAR ========= -->
|
|
78
|
|
79 <HR>
|
|
80 <H2>
|
|
81 Package org.apache.http.cookie
|
|
82 </H2>
|
|
83 The API for client-side state management via cookies,
|
|
84 commonly referred to as <i>HttpCookie</i>.
|
|
85 <P>
|
|
86 <B>See:</B>
|
|
87 <BR>
|
|
88 <A HREF="#package_description"><B>Description</B></A>
|
|
89 <P>
|
|
90
|
|
91 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
92 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
93 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
94 <B>Interface Summary</B></FONT></TH>
|
|
95 </TR>
|
|
96 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
97 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/ClientCookie.html" title="interface in org.apache.http.cookie">ClientCookie</A></B></TD>
|
|
98 <TD>ClientCookie extends the standard <A HREF="../../../../org/apache/http/cookie/Cookie.html" title="interface in org.apache.http.cookie"><CODE>Cookie</CODE></A> interface with
|
|
99 additional client specific functionality such ability to retrieve
|
|
100 original cookie attributes exactly as they were specified by the
|
|
101 origin server.</TD>
|
|
102 </TR>
|
|
103 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
104 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/Cookie.html" title="interface in org.apache.http.cookie">Cookie</A></B></TD>
|
|
105 <TD>HTTP "magic-cookie" represents a piece of state information
|
|
106 that the HTTP agent and the target server can exchange to maintain
|
|
107 a session.</TD>
|
|
108 </TR>
|
|
109 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
110 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/CookieAttributeHandler.html" title="interface in org.apache.http.cookie">CookieAttributeHandler</A></B></TD>
|
|
111 <TD>Ths interface represents a cookie attribute handler responsible
|
|
112 for parsing, validating, and matching a specific cookie attribute,
|
|
113 such as path, domain, port, etc.</TD>
|
|
114 </TR>
|
|
115 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
116 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/CookieSpec.html" title="interface in org.apache.http.cookie">CookieSpec</A></B></TD>
|
|
117 <TD>Defines the cookie management specification.</TD>
|
|
118 </TR>
|
|
119 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
120 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/CookieSpecFactory.html" title="interface in org.apache.http.cookie">CookieSpecFactory</A></B></TD>
|
|
121 <TD> </TD>
|
|
122 </TR>
|
|
123 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
124 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/SetCookie.html" title="interface in org.apache.http.cookie">SetCookie</A></B></TD>
|
|
125 <TD>This interface represents a <code>SetCookie</code> response header sent by the
|
|
126 origin server to the HTTP agent in order to maintain a conversational state.</TD>
|
|
127 </TR>
|
|
128 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
129 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/SetCookie2.html" title="interface in org.apache.http.cookie">SetCookie2</A></B></TD>
|
|
130 <TD>This interface represents a <code>SetCookie2</code> response header sent by the
|
|
131 origin server to the HTTP agent in order to maintain a conversational state.</TD>
|
|
132 </TR>
|
|
133 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
134 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/SM.html" title="interface in org.apache.http.cookie">SM</A></B></TD>
|
|
135 <TD>Constants and static helpers related to the HTTP state management.</TD>
|
|
136 </TR>
|
|
137 </TABLE>
|
|
138
|
|
139
|
|
140 <P>
|
|
141
|
|
142 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
143 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
144 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
145 <B>Class Summary</B></FONT></TH>
|
|
146 </TR>
|
|
147 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
148 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/CookieIdentityComparator.html" title="class in org.apache.http.cookie">CookieIdentityComparator</A></B></TD>
|
|
149 <TD>This cookie comparator can be used to compare identity of cookies.</TD>
|
|
150 </TR>
|
|
151 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
152 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/CookieOrigin.html" title="class in org.apache.http.cookie">CookieOrigin</A></B></TD>
|
|
153 <TD>CookieOrigin class incapsulates details of an origin server that
|
|
154 are relevant when parsing, validating or matching HTTP cookies.</TD>
|
|
155 </TR>
|
|
156 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
157 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/CookiePathComparator.html" title="class in org.apache.http.cookie">CookiePathComparator</A></B></TD>
|
|
158 <TD>This cookie comparator ensures that multiple cookies satisfying
|
|
159 a common criteria are ordered in the <tt>Cookie</tt> header such
|
|
160 that those with more specific Path attributes precede those with
|
|
161 less specific.</TD>
|
|
162 </TR>
|
|
163 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
164 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/CookieSpecRegistry.html" title="class in org.apache.http.cookie">CookieSpecRegistry</A></B></TD>
|
|
165 <TD>Cookie specification registry that can be used to obtain the corresponding
|
|
166 cookie specification implementation for a given type of type or version of
|
|
167 cookie.</TD>
|
|
168 </TR>
|
|
169 </TABLE>
|
|
170
|
|
171
|
|
172 <P>
|
|
173
|
|
174 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
175 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
176 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
177 <B>Exception Summary</B></FONT></TH>
|
|
178 </TR>
|
|
179 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
180 <TD WIDTH="15%"><B><A HREF="../../../../org/apache/http/cookie/MalformedCookieException.html" title="class in org.apache.http.cookie">MalformedCookieException</A></B></TD>
|
|
181 <TD>Signals that a cookie is in some way invalid or illegal in a given
|
|
182 context</TD>
|
|
183 </TR>
|
|
184 </TABLE>
|
|
185
|
|
186
|
|
187 <P>
|
|
188 <A NAME="package_description"><!-- --></A><H2>
|
|
189 Package org.apache.http.cookie Description
|
|
190 </H2>
|
|
191
|
|
192 <P>
|
|
193 The API for client-side state management via cookies,
|
|
194 commonly referred to as <i>HttpCookie</i>.
|
|
195 <P>
|
|
196
|
|
197 <P>
|
|
198 <DL>
|
|
199 </DL>
|
|
200 <HR>
|
|
201
|
|
202
|
|
203 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
204 <A NAME="navbar_bottom"><!-- --></A>
|
|
205 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
206 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
207 <TR>
|
|
208 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
209 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
210 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
211 <TR ALIGN="center" VALIGN="top">
|
|
212 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
213 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
|
|
214 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
|
215 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
216 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
217 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
218 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
219 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
220 </TR>
|
|
221 </TABLE>
|
|
222 </TD>
|
|
223 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
224 </EM>
|
|
225 </TD>
|
|
226 </TR>
|
|
227
|
|
228 <TR>
|
|
229 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
230 <A HREF="../../../../org/apache/http/conn/util/package-summary.html"><B>PREV PACKAGE</B></A>
|
|
231 <A HREF="../../../../org/apache/http/cookie/params/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
|
|
232 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
233 <A HREF="../../../../index.html?org/apache/http/cookie/package-summary.html" target="_top"><B>FRAMES</B></A>
|
|
234 <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
|
235 <SCRIPT type="text/javascript">
|
|
236 <!--
|
|
237 if(window==top) {
|
|
238 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
239 }
|
|
240 //-->
|
|
241 </SCRIPT>
|
|
242 <NOSCRIPT>
|
|
243 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
244 </NOSCRIPT>
|
|
245
|
|
246
|
|
247 </FONT></TD>
|
|
248 </TR>
|
|
249 </TABLE>
|
|
250 <A NAME="skip-navbar_bottom"></A>
|
|
251 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
252
|
|
253 <HR>
|
|
254 Copyright © 1999-2008 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
|
|
255 </BODY>
|
|
256 </HTML>
|