Class CallbackController


  • @RestController
    @RequestMapping("/version/v1")
    @Validated
    public class CallbackController
    extends Object
    • Field Detail

      • CALLBACK_ROUTE

        public static final String CALLBACK_ROUTE
        The route to the callback endpoint (version agnostic).
        See Also:
        Constant Field Values
    • Method Detail

      • handleCallback

        @GetMapping(value="/callback",
                    params="batchTag!=")
        public org.springframework.http.ResponseEntity<Void> handleCallback​(@RequestParam
                                                                            String batchTag,
                                                                            @NotNull @DateTimeFormat(iso=DATE) @RequestParam
                                                                            @NotNull LocalDate date)
        Handles Callback GET requests from Federation Gateway.
        Parameters:
        batchTag - The batchTag for the latest batch.
        date - The date of the batch.
        Returns:
        An empty response body.