125126127128129130131132133134135
public void put(Object instance) throws StoreConfigException { HTTPRequest request = pool.put(); try { request.send(instance); execute(request); } catch (IOException e) { throw new StoreConfigException(e); }
206207208209210211212213214215216
public void put(String id, Object instance) throws StoreConfigException { HTTPRequest request = pool.slash(id).put(); try { request.send(instance); execute(request); } catch (IOException e) { throw new StoreConfigException(e); }
147148149150151152153154155156157
public void put(Object instance) throws StoreException { HTTPRequest request = pool.put(); try { request.send(instance); execute(request); } catch (IOException e) { throw new StoreException(e); }
163164165166167168169170171172173
public void post(Object instance) throws StoreException { HTTPRequest request = pool.post(); try { request.send(instance); execute(request); } catch (IOException e) { throw new StoreException(e); }
247248249250251252253254255256257
public void put(String id, Object instance) throws StoreException { HTTPRequest request = pool.slash(id).put(); try { request.send(instance); execute(request); } catch (IOException e) { throw new StoreException(e); }