Java tutorial
/****************************************************************************** * LZGetMethod.java * ****************************************************************************/ /* J_LZ_COPYRIGHT_BEGIN ******************************************************* * Copyright 2001-2004, 2011 Laszlo Systems, Inc. All Rights Reserved. * * Use is subject to license terms. * * J_LZ_COPYRIGHT_END *********************************************************/ package org.openlaszlo.utils; import org.apache.commons.httpclient.HttpState; import org.apache.commons.httpclient.HttpConnection; import org.apache.commons.httpclient.methods.GetMethod; /** * Special get method that overrides the unfortunate cookie processing in the * httpclient 2.0-rc1 library. */ public class LZGetMethod extends GetMethod { @Override protected void addCookieRequestHeader(HttpState s, HttpConnection c) { } @Override protected void processResponseHeaders(HttpState state, HttpConnection conn) { } }