wttools.protocols.extend.http
Class CookiePolicyHandlerImpl
java.lang.Object
|
+--wttools.protocols.extend.http.CookiePolicyHandlerImpl
- All Implemented Interfaces:
- CookiePolicyHandler
- public class CookiePolicyHandlerImpl
- extends java.lang.Object
- implements CookiePolicyHandler
CookiePolicyHandlerImpl.java
Created: Sat Nov 3 21:55:48 2001
- Version:
- $Revision: 1.2 $
- Author:
- Artur Hefczyc
Method Summary |
boolean |
acceptCookie(Cookie param1,
RoRequest param2,
RoResponse param3)
This method is called for each cookie that a server tries to set via
the Set-Cookie header. |
boolean |
sendCookie(Cookie param1,
RoRequest param2)
This method is called for each cookie that is eligible for sending
with a request (according to the matching rules for the path, domain,
protocol, etc). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allCookies
protected boolean allCookies
CookiePolicyHandlerImpl
public CookiePolicyHandlerImpl(boolean allow)
acceptCookie
public boolean acceptCookie(Cookie param1,
RoRequest param2,
RoResponse param3)
- Description copied from interface:
CookiePolicyHandler
- This method is called for each cookie that a server tries to set via
the Set-Cookie header. This enables you to implement your own
cookie acceptance policy.
- Specified by:
acceptCookie
in interface CookiePolicyHandler
- Parameters:
param1
- param2
- param3
- - Returns:
sendCookie
public boolean sendCookie(Cookie param1,
RoRequest param2)
- Description copied from interface:
CookiePolicyHandler
- This method is called for each cookie that is eligible for sending
with a request (according to the matching rules for the path, domain,
protocol, etc). This enables you to control the sending of cookies.
- Specified by:
sendCookie
in interface CookiePolicyHandler
- Parameters:
param1
- param2
- - Returns:
Copyright © GNU, wttools developers Team.