Class SpringWebClientParams
-
- All Implemented Interfaces:
public final class SpringWebClientParams
-
-
Field Summary
Fields Modifier and Type Field Description private Booleanenabledprivate BooleannonBlocking
-
Constructor Summary
Constructors Constructor Description SpringWebClientParams()
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()If the value is true, generates a REST client codes using WebClient, otherwise RestTemplate. final UnitsetEnabled(Boolean enabled)If the value is true, generates a REST client codes using WebClient, otherwise RestTemplate. final BooleangetNonBlocking()If the value is true, generates a REST client with non-blocking thread methods (will return a Mono or Flux object). final UnitsetNonBlocking(Boolean nonBlocking)If the value is true, generates a REST client with non-blocking thread methods (will return a Mono or Flux object). -
-
Method Detail
-
getEnabled
final Boolean getEnabled()
If the value is true, generates a REST client codes using WebClient, otherwise RestTemplate.
-
setEnabled
final Unit setEnabled(Boolean enabled)
If the value is true, generates a REST client codes using WebClient, otherwise RestTemplate.
-
getNonBlocking
final Boolean getNonBlocking()
If the value is true, generates a REST client with non-blocking thread methods (will return a Mono or Flux object).
-
setNonBlocking
final Unit setNonBlocking(Boolean nonBlocking)
If the value is true, generates a REST client with non-blocking thread methods (will return a Mono or Flux object).
-
-
-
-