| java.lang.Object org.jasig.portal.utils.CookieCutter
CookieCutter | public class CookieCutter (Code) | | CookieCutter is a utility class which stores, sends and
receives cookies for a CWebProxy channel instance.
It can be used in other classes where appropriate.
All cookies which are sent from the proxied application
(and therefore need to be sent back) are kept in a
Vector.
|
Constructor Summary | |
public | CookieCutter() Instantiates a new CookieCutter object. |
CookieCutter | public CookieCutter()(Code) | | Instantiates a new CookieCutter object.
|
cookiesExist | public boolean cookiesExist()(Code) | | Returns true if cookies need to be sent to proxied application.
|
sendCookieHeader | public void sendCookieHeader(HttpURLConnection httpUrlConnect, String domain, String path, String port)(Code) | | Sends a cookie header to origin server according to the Netscape
specification.
Parameters: httpUrlConnect - The HttpURLConnection handling this URL connection Parameters: domain - The domain value of the cookie Parameters: path - The path value of the cookie Parameters: port - The port value of the cookie |
|
|