hi
i use datafx 8.0.1 to call a rest service from spring boot appliaction
1. spring boot eest controller code
@RestController
public class simpleController {
@GetMapping("/time")
public String getTime() {
System.out.println("user request......");
return LocalTime.now().toString();
}
}
2. client data rest call this restcontrooler to get time from server
RestSource restSource = RestSourceBuilder.create().host("http://localhost:8080").path("time").requestMethod("GET").converter(new JsonConverter(String.class)).build();
ObjectDataProviderBuilder.create().dataReader(restSource).build().retrieve().valueProperty().addListener((e,v1,v2) -> System.out.println("value .... " + v2));
when i run client datafx rest not think happen in console !!! in spring boot rest controller i see that show in spring boot apllication message in console ("user request....")
so what is's the probeme ?? why a datafx client see any think from spring boot rest constroller ???