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:49 GMT+01:00 2008 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
7 <TITLE>
|
|
8 CookieOrigin (HttpClient 4.0-beta1 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="keywords" CONTENT="org.apache.http.cookie.CookieOrigin class">
|
|
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="CookieOrigin (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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
40 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CookieOrigin.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/cookie/CookieIdentityComparator.html" title="class in org.apache.http.cookie"><B>PREV CLASS</B></A>
|
|
57 <A HREF="../../../../org/apache/http/cookie/CookiePathComparator.html" title="class in org.apache.http.cookie"><B>NEXT CLASS</B></A></FONT></TD>
|
|
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
59 <A HREF="../../../../index.html?org/apache/http/cookie/CookieOrigin.html" target="_top"><B>FRAMES</B></A>
|
|
60 <A HREF="CookieOrigin.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 <TR>
|
|
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
77 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
79 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
80 </TR>
|
|
81 </TABLE>
|
|
82 <A NAME="skip-navbar_top"></A>
|
|
83 <!-- ========= END OF TOP NAVBAR ========= -->
|
|
84
|
|
85 <HR>
|
|
86 <!-- ======== START OF CLASS DATA ======== -->
|
|
87 <H2>
|
|
88 <FONT SIZE="-1">
|
|
89 org.apache.http.cookie</FONT>
|
|
90 <BR>
|
|
91 Class CookieOrigin</H2>
|
|
92 <PRE>
|
|
93 java.lang.Object
|
|
94 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.http.cookie.CookieOrigin</B>
|
|
95 </PRE>
|
|
96 <HR>
|
|
97 <DL>
|
|
98 <DT><PRE>public final class <B>CookieOrigin</B><DT>extends java.lang.Object</DL>
|
|
99 </PRE>
|
|
100
|
|
101 <P>
|
|
102 CookieOrigin class incapsulates details of an origin server that
|
|
103 are relevant when parsing, validating or matching HTTP cookies.
|
|
104 <P>
|
|
105
|
|
106 <P>
|
|
107 <DL>
|
|
108 <DT><B>Since:</B></DT>
|
|
109 <DD>4.0</DD>
|
|
110 <DT><B>Author:</B></DT>
|
|
111 <DD><a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a></DD>
|
|
112 </DL>
|
|
113 <HR>
|
|
114
|
|
115 <P>
|
|
116
|
|
117 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
118
|
|
119 <A NAME="constructor_summary"><!-- --></A>
|
|
120 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
121 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
122 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
123 <B>Constructor Summary</B></FONT></TH>
|
|
124 </TR>
|
|
125 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
126 <TD><CODE><B><A HREF="../../../../org/apache/http/cookie/CookieOrigin.html#CookieOrigin(java.lang.String, int, java.lang.String, boolean)">CookieOrigin</A></B>(java.lang.String host,
|
|
127 int port,
|
|
128 java.lang.String path,
|
|
129 boolean secure)</CODE>
|
|
130
|
|
131 <BR>
|
|
132 </TD>
|
|
133 </TR>
|
|
134 </TABLE>
|
|
135
|
|
136 <!-- ========== METHOD SUMMARY =========== -->
|
|
137
|
|
138 <A NAME="method_summary"><!-- --></A>
|
|
139 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
140 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
141 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
142 <B>Method Summary</B></FONT></TH>
|
|
143 </TR>
|
|
144 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
145 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
146 <CODE> java.lang.String</CODE></FONT></TD>
|
|
147 <TD><CODE><B><A HREF="../../../../org/apache/http/cookie/CookieOrigin.html#getHost()">getHost</A></B>()</CODE>
|
|
148
|
|
149 <BR>
|
|
150 </TD>
|
|
151 </TR>
|
|
152 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
154 <CODE> java.lang.String</CODE></FONT></TD>
|
|
155 <TD><CODE><B><A HREF="../../../../org/apache/http/cookie/CookieOrigin.html#getPath()">getPath</A></B>()</CODE>
|
|
156
|
|
157 <BR>
|
|
158 </TD>
|
|
159 </TR>
|
|
160 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
161 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
162 <CODE> int</CODE></FONT></TD>
|
|
163 <TD><CODE><B><A HREF="../../../../org/apache/http/cookie/CookieOrigin.html#getPort()">getPort</A></B>()</CODE>
|
|
164
|
|
165 <BR>
|
|
166 </TD>
|
|
167 </TR>
|
|
168 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
170 <CODE> boolean</CODE></FONT></TD>
|
|
171 <TD><CODE><B><A HREF="../../../../org/apache/http/cookie/CookieOrigin.html#isSecure()">isSecure</A></B>()</CODE>
|
|
172
|
|
173 <BR>
|
|
174 </TD>
|
|
175 </TR>
|
|
176 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
178 <CODE> java.lang.String</CODE></FONT></TD>
|
|
179 <TD><CODE><B><A HREF="../../../../org/apache/http/cookie/CookieOrigin.html#toString()">toString</A></B>()</CODE>
|
|
180
|
|
181 <BR>
|
|
182 </TD>
|
|
183 </TR>
|
|
184 </TABLE>
|
|
185 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
186 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
187 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
188 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
189 </TR>
|
|
190 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
191 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
|
192 </TR>
|
|
193 </TABLE>
|
|
194
|
|
195 <P>
|
|
196
|
|
197 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
198
|
|
199 <A NAME="constructor_detail"><!-- --></A>
|
|
200 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
201 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
202 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
203 <B>Constructor Detail</B></FONT></TH>
|
|
204 </TR>
|
|
205 </TABLE>
|
|
206
|
|
207 <A NAME="CookieOrigin(java.lang.String, int, java.lang.String, boolean)"><!-- --></A><H3>
|
|
208 CookieOrigin</H3>
|
|
209 <PRE>
|
|
210 public <B>CookieOrigin</B>(java.lang.String host,
|
|
211 int port,
|
|
212 java.lang.String path,
|
|
213 boolean secure)</PRE>
|
|
214 <DL>
|
|
215 </DL>
|
|
216
|
|
217 <!-- ============ METHOD DETAIL ========== -->
|
|
218
|
|
219 <A NAME="method_detail"><!-- --></A>
|
|
220 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
221 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
222 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
223 <B>Method Detail</B></FONT></TH>
|
|
224 </TR>
|
|
225 </TABLE>
|
|
226
|
|
227 <A NAME="getHost()"><!-- --></A><H3>
|
|
228 getHost</H3>
|
|
229 <PRE>
|
|
230 public java.lang.String <B>getHost</B>()</PRE>
|
|
231 <DL>
|
|
232 <DD><DL>
|
|
233 </DL>
|
|
234 </DD>
|
|
235 </DL>
|
|
236 <HR>
|
|
237
|
|
238 <A NAME="getPath()"><!-- --></A><H3>
|
|
239 getPath</H3>
|
|
240 <PRE>
|
|
241 public java.lang.String <B>getPath</B>()</PRE>
|
|
242 <DL>
|
|
243 <DD><DL>
|
|
244 </DL>
|
|
245 </DD>
|
|
246 </DL>
|
|
247 <HR>
|
|
248
|
|
249 <A NAME="getPort()"><!-- --></A><H3>
|
|
250 getPort</H3>
|
|
251 <PRE>
|
|
252 public int <B>getPort</B>()</PRE>
|
|
253 <DL>
|
|
254 <DD><DL>
|
|
255 </DL>
|
|
256 </DD>
|
|
257 </DL>
|
|
258 <HR>
|
|
259
|
|
260 <A NAME="isSecure()"><!-- --></A><H3>
|
|
261 isSecure</H3>
|
|
262 <PRE>
|
|
263 public boolean <B>isSecure</B>()</PRE>
|
|
264 <DL>
|
|
265 <DD><DL>
|
|
266 </DL>
|
|
267 </DD>
|
|
268 </DL>
|
|
269 <HR>
|
|
270
|
|
271 <A NAME="toString()"><!-- --></A><H3>
|
|
272 toString</H3>
|
|
273 <PRE>
|
|
274 public java.lang.String <B>toString</B>()</PRE>
|
|
275 <DL>
|
|
276 <DD><DL>
|
|
277 <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
|
278 </DD>
|
|
279 <DD><DL>
|
|
280 </DL>
|
|
281 </DD>
|
|
282 </DL>
|
|
283 <!-- ========= END OF CLASS DATA ========= -->
|
|
284 <HR>
|
|
285
|
|
286
|
|
287 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
288 <A NAME="navbar_bottom"><!-- --></A>
|
|
289 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
290 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
291 <TR>
|
|
292 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
293 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
294 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
295 <TR ALIGN="center" VALIGN="top">
|
|
296 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
297 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
298 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
299 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CookieOrigin.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
300 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
301 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
302 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
303 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
304 </TR>
|
|
305 </TABLE>
|
|
306 </TD>
|
|
307 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
308 </EM>
|
|
309 </TD>
|
|
310 </TR>
|
|
311
|
|
312 <TR>
|
|
313 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
314 <A HREF="../../../../org/apache/http/cookie/CookieIdentityComparator.html" title="class in org.apache.http.cookie"><B>PREV CLASS</B></A>
|
|
315 <A HREF="../../../../org/apache/http/cookie/CookiePathComparator.html" title="class in org.apache.http.cookie"><B>NEXT CLASS</B></A></FONT></TD>
|
|
316 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
317 <A HREF="../../../../index.html?org/apache/http/cookie/CookieOrigin.html" target="_top"><B>FRAMES</B></A>
|
|
318 <A HREF="CookieOrigin.html" target="_top"><B>NO FRAMES</B></A>
|
|
319 <SCRIPT type="text/javascript">
|
|
320 <!--
|
|
321 if(window==top) {
|
|
322 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
323 }
|
|
324 //-->
|
|
325 </SCRIPT>
|
|
326 <NOSCRIPT>
|
|
327 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
328 </NOSCRIPT>
|
|
329
|
|
330
|
|
331 </FONT></TD>
|
|
332 </TR>
|
|
333 <TR>
|
|
334 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
335 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
336 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
337 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
338 </TR>
|
|
339 </TABLE>
|
|
340 <A NAME="skip-navbar_bottom"></A>
|
|
341 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
342
|
|
343 <HR>
|
|
344 Copyright © 1999-2008 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
|
|
345 </BODY>
|
|
346 </HTML>
|