3233343536373839
.clientOf(url) .transports(Widget.class) .over(Json.class) .post(testWidget); Widget result = response.to(Widget.class).using(Json.class); assert result.equals(testWidget); }
7071727374757677
.clientOf(url) .transports(String.class) .over(Json.class) .get(); Widget result = response.to(Widget.class).using(Json.class); assert result.equals(widgetOne); }
8788899091929394
.clientOf(url) .transports(Widget.class) .over(Json.class) .put(widgetOne); Widget result = response.to(Widget.class).using(Json.class); assert result.equals(widgetOne); }
103104105106107108109110
.clientOf(url) .transports(String.class) .over(Json.class) .delete(); Widget result = response.to(Widget.class).using(Json.class); assert result.equals(testWidget); }
6970717273747576
8687888990919293
101102103104105106107108