org.openstreetmap.atlas.streaming.resource.http.PutResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atlas Show documentation
Show all versions of atlas Show documentation
"Library to load OSM data into an Atlas format"
package org.openstreetmap.atlas.streaming.resource.http;
import java.net.URI;
import org.apache.http.client.methods.HttpPut;
/**
* Same usage as {@link PostResource}
*
* @author cuthbertm
*/
public class PutResource extends PostResource
{
public PutResource(final String uri)
{
this(URI.create(uri));
}
public PutResource(final URI uri)
{
super(uri);
setRequest(new HttpPut(uri));
}
}