KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openlaszlo > utils > LZGetMethod


1 /******************************************************************************
2  * LZGetMethod.java
3  * ****************************************************************************/

4
5 /* J_LZ_COPYRIGHT_BEGIN *******************************************************
6 * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
7 * Use is subject to license terms. *
8 * J_LZ_COPYRIGHT_END *********************************************************/

9
10 package org.openlaszlo.utils;
11
12 import org.apache.commons.httpclient.HttpState;
13 import org.apache.commons.httpclient.HttpConnection;
14 import org.apache.commons.httpclient.methods.GetMethod;
15
16 /**
17  * Special get method that overrides the unfortunate cookie processing in the
18  * httpclient 2.0-rc1 library.
19  */

20 public class LZGetMethod extends GetMethod {
21     protected void addCookieRequestHeader(HttpState s, HttpConnection c) {
22         
23     }
24
25     protected void processResponseHeaders(HttpState state,
26         HttpConnection conn) {
27     }
28 }
29
Popular Tags