Interface HttpClientContext.Builder

Enclosing interface:
HttpClientContext

public static interface HttpClientContext.Builder
Builds the HttpClientContext.


   HttpClientContext ctx = HttpClientContext.newBuilder()
       .withBaseUrl("http://localhost:8080")
       .withRequestListener(new RequestLogger())
       .withBodyAdapter(new JacksonBodyAdapter(new ObjectMapper()))
       .build();

  HelloDto dto = ctx.request()
       .path("hello")
       .queryParam("name", "Rob")
       .queryParam("say", "Ki ora")
       .GET()
       .bean(HelloDto.class);