class GeoStoreClient {

    public void updateResource(Long id, RESTResource resource)
    {
        getBaseWebResource("resources", "resource", id)
                .header("Content-Type", MediaType.TEXT_XML)
                .put(resource);
    }

    public  GeoStoreClient();

}