KickJava   Java API By Example, From Geeks To Geeks.

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


1 /******************************************************************************
2  * LZPostMethod.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.PostMethod;
15
16 /**
17  * Special post method class that overrides the unfortunate cookie processing in
18  * the httpclient 2.0-rc1 library.
19  */

20 public class LZPostMethod extends PostMethod {
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