Hi!

Why is org.apache.cxf.transport.http.Cookie protected in package
org.apache.cxf.transport.http?

When I try to access cookies with:
 
Map <String, org.apache.cxf.transport.http.Cookie> cooks =
((HTTPConduit)cxfClient.getConduit()).getCookies();

I get error:

Client.java:103: error: Cookie is not public in
org.apache.cxf.transport.http; cannot be accessed from outside package
        Map <String, org.apache.cxf.transport.http.Cookie> cooks =
((HTTPConduit)cxfClient.getConduit()).getCookies();


Otherwise client works fine, sessions are enabled and maintained and
((HTTPConduit)cxfClient.getConduit()).getCookies() returns Map with
cookies and I can see references of those Objects. I just can't read  them!

best regards,

Damijan

PS

I tried both apache cxf 2.5.2 and 2.4.6 libs

Reply via email to