protected final URLFactory.Builder newDetailResourceURL(int resourceId) { return mUrlfactory .newURL() .setResource(mResourceType.getSingularName(), mResourceType.getId(), resourceId); }
protected final URLFactory.Builder newListResourceURL() { return mUrlfactory.newURL().setResource(mResourceType.getPluralName()); }
@NotNull List<T> itemListFromJson(@NotNull JSONArray json) { throw new UnsupportedOperationException( mResourceType.getPluralName() + " API does not support this operation"); }