All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstreetmap.atlas.streaming.resource.http.DeleteResource Maven / Gradle / Ivy

There is a newer version: 7.0.8
Show newest version
package org.openstreetmap.atlas.streaming.resource.http;

import java.net.URI;

import org.apache.http.client.methods.HttpDelete;

/**
 * Same usage as found in {@link HttpResource}
 *
 * @author cuthbertm
 */
public class DeleteResource extends HttpResource
{
    public DeleteResource(final String uri)
    {
        this(URI.create(uri));
    }

    public DeleteResource(final URI uri)
    {
        super(uri);
        setRequest(new HttpDelete(uri));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy