axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "keith chapman" <keithgchap...@gmail.com>
Subject [Axis2] Added option to control cookie policy on http Request
Date Thu, 13 Dec 2007 06:34:00 GMT
Hi,

I've added an option to the messagecontext to control the cookie policy on
http Request. This can be set as follows

options.setProperty(HTTPConstants.COOKIE_POLICY, CookiePolicy.IGNORE_COOKIES
);

Valid values for cookie policy are

    public static final java.lang.String BROWSER_COMPATIBILITY =
"compatibility";
    public static final java.lang.String NETSCAPE = "netscape";
    public static final java.lang.String RFC_2109 = "rfc2109";
    public static final java.lang.String IGNORE_COOKIES = "ignoreCookies";
    public static final java.lang.String DEFAULT = "default";

These constants are located in
org.apache.commons.httpclient.cookie.CookiePolicy

Thanks,
Keith.

-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

Mime
View raw message