org.openlaszlo.utils.LZDeleteMethod.java Source code

Java tutorial

Introduction

Here is the source code for org.openlaszlo.utils.LZDeleteMethod.java

Source

/******************************************************************************
 * LZGetMethod.java
 * ****************************************************************************/

/* J_LZ_COPYRIGHT_BEGIN *******************************************************
* Copyright 2001-2007, 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.DeleteMethod;

/**
 * Special get method that overrides the unfortunate cookie processing in the
 * httpclient 2.0-rc1 library.
 */
public class LZDeleteMethod extends DeleteMethod {
    @Override
    protected void addCookieRequestHeader(HttpState s, HttpConnection c) {

    }

    @Override
    protected void processResponseHeaders(HttpState state, HttpConnection conn) {
    }
}