Package org.maproulette.client.http
-
Class Summary Class Description DeleteResource Same usage as found inHttpResourceGetResource Same usage as found inHttpResourceHttpResource Base Http resource object that will handle most of the http request information.PostResource Usage: byte[] body = "{\"test\":\"test\"}".getBytes(); URI uri = new URIBuilder("http://localhost:2020/path/to/location").build(); HttpResource post = new PostResource(uri, body); //read the response post.lines().foreach(System.out.println(x)); // get the status code int code = post.getStatusCode();PutResource Same usage asPostResourceResourceFactory Factory for retrieving resource based on method