michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: package org.mozilla.gecko.sync.net; michael@0: michael@0: import java.net.URI; michael@0: michael@0: import ch.boye.httpclientandroidlib.HttpEntity; michael@0: michael@0: public interface Resource { michael@0: public abstract URI getURI(); michael@0: public abstract String getURIString(); michael@0: public abstract String getHostname(); michael@0: public abstract void get(); michael@0: public abstract void delete(); michael@0: public abstract void post(HttpEntity body); michael@0: public abstract void put(HttpEntity body); michael@0: }