Class SubscribeController

java.lang.Object
app.valuationcontrol.webservice.model.SubscribeController

@Controller public class SubscribeController extends Object
  • Constructor Details

  • Method Details

    • handleExceptions

      @MessageExceptionHandler @SendToUser("/topic/errors") public String handleExceptions(org.springframework.web.server.ResponseStatusException responseStatusException)
    • subscribingToModel

      @SubscribeMapping("/topic/model/{modelId}/{scenario}") public CalculationData subscribingToModel(@DestinationVariable("modelId") Long modelId, @DestinationVariable("scenario") int scenario, Principal principal) throws org.springframework.web.server.ResponseStatusException
      Throws:
      org.springframework.web.server.ResponseStatusException
    • subscribingToChangeLog

      @SubscribeMapping("/topic/changelog/{modelId}") public void subscribingToChangeLog(@DestinationVariable("modelId") Long modelId, Principal principal)