@Test public void testPutWithoutObject() { final Request<Object> request = Rest.one(RESOURCE_ROUTE_USERS, RESOURCE_VALUE_USER_ID) .put(Object.class).request(); assertEquals(GET_ALL_URL + "/" + RESOURCE_VALUE_USER_ID, request.getUrl()); assertEquals(Request.Method.PUT, request.getMethod()); }
@NonNull public static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, final int id) { return one(route, Integer.toString(id)); }
Rest { @NonNull public static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, final int id) { return one(route, Integer.toString(id)); } }
Rest { @NonNull public static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, final int id) { return one(route, Integer.toString(id)); } private  Rest(); }
Rest { @NonNull public static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, final int id) { return one(route, Integer.toString(id)); } private  Rest(); static void setBaseUrl(@NonNull final String baseUrl); static void setGson(@NonNull final Gson gson); static void setInterceptor(@Nullable final RequestInterceptor interceptor); static void setElementsKey(@Nullable final String elementsKey); @NonNull static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, final int id); @NonNull static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, @NonNull final String id); @NonNull static UrlBuilder.ElementUrlBuilder one(@NonNull final String route); @NonNull static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, @NonNull final String id,
			@NonNull final Gson gson); @NonNull static UrlBuilder.ElementUrlBuilder oneUrl(@NonNull final String route,
			@NonNull final String url); @NonNull static UrlBuilder.ElementUrlBuilder oneUrl(@NonNull final String route,
			@NonNull final String url, @NonNull final Gson gson); @NonNull static UrlBuilder.CollectionUrlBuilder all(@NonNull final String route); @NonNull static UrlBuilder.CollectionUrlBuilder all(@NonNull final String route,
			@NonNull final Gson gson); @NonNull static UrlBuilder.CollectionUrlBuilder allUrl(@NonNull final String route,
			@NonNull final String url); @NonNull static UrlBuilder.CollectionUrlBuilder allUrl(@NonNull final String route,
			@NonNull final String url, @NonNull final Gson gson); }
Rest { @NonNull public static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, final int id) { return one(route, Integer.toString(id)); } private  Rest(); static void setBaseUrl(@NonNull final String baseUrl); static void setGson(@NonNull final Gson gson); static void setInterceptor(@Nullable final RequestInterceptor interceptor); static void setElementsKey(@Nullable final String elementsKey); @NonNull static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, final int id); @NonNull static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, @NonNull final String id); @NonNull static UrlBuilder.ElementUrlBuilder one(@NonNull final String route); @NonNull static UrlBuilder.ElementUrlBuilder one(@NonNull final String route, @NonNull final String id,
			@NonNull final Gson gson); @NonNull static UrlBuilder.ElementUrlBuilder oneUrl(@NonNull final String route,
			@NonNull final String url); @NonNull static UrlBuilder.ElementUrlBuilder oneUrl(@NonNull final String route,
			@NonNull final String url, @NonNull final Gson gson); @NonNull static UrlBuilder.CollectionUrlBuilder all(@NonNull final String route); @NonNull static UrlBuilder.CollectionUrlBuilder all(@NonNull final String route,
			@NonNull final Gson gson); @NonNull static UrlBuilder.CollectionUrlBuilder allUrl(@NonNull final String route,
			@NonNull final String url); @NonNull static UrlBuilder.CollectionUrlBuilder allUrl(@NonNull final String route,
			@NonNull final String url, @NonNull final Gson gson);  }