Interface Http

All Superinterfaces:
URIStage

@API(status=STABLE) public interface Http extends URIStage
Central class for actual asynchronous HTTP-based communication. Http is loosely modeled after the HTTP protocol, i.e. you start with a method and by a URL and optionally followed query parameters, headers and a body:
http.get("/users")
     .queryParam("active", "true")
     .accept(APPLICATION_JSON)
     .dispatch(..)
See Also:
  • RestTemplate