Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Sample project showing that when creating RestClient using request factory new JdkClientHttpRequestFactory(), like the code below

@Bean
  public RestClient restClient(RestClient.Builder builder) {
    return builder
        .requestFactory(new JdkClientHttpRequestFactory()) 
        .baseUrl(baseUrl)
        .build();
  }

Tests using @RestClientTest() and MockRestServiceServer server fail to connect unless new JdkClientHttpRequestFactory() is removed

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages