Interface HttpClientContext.Builder

  • Enclosing interface:
    HttpClientContext

    public static interface HttpClientContext.Builder
    Builds the HttpClientContext.
    
    
       HttpClientContext ctx = HttpClientContext.newBuilder()
           .baseUrl("http://localhost:8080")
           .bodyAdapter(new JacksonBodyAdapter())
           .build();
    
      HelloDto dto = ctx.request()
           .path("hello")
           .queryParam("name", "Rob")
           .queryParam("say", "Whats up")
           .GET()
           .bean(HelloDto.class);