Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
corrected JerseyRequestHandler initialization in ClientBase
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindanr committed Jun 28, 2022
1 parent 83841ac commit caad53d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ protected ClientBase(
objectMapper.registerModule(new JavaTimeModule());
}

this.requestHandler = ObjectUtils.defaultIfNull(requestHandler, new JerseyRequestHandler());
// we do not want to use defaultIfNull here since creation of JerseyRequestHandler requires
// classes that may not be in the classpath
this.requestHandler = requestHandler != null ? requestHandler : new JerseyRequestHandler();
this.conductorClientConfiguration =
ObjectUtils.defaultIfNull(
clientConfiguration, new DefaultConductorClientConfiguration());
Expand Down

0 comments on commit caad53d

Please sign in to comment.