Package de.otto.jlineup.web
Klasse JLineupController
java.lang.Object
de.otto.jlineup.web.JLineupController
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungJLineupController(JLineupService jLineupService, JLineupWebProperties properties) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexampleRun(String url, String browser, jakarta.servlet.http.HttpServletRequest request) org.springframework.http.ResponseEntity<String> exceptionHandler(com.fasterxml.jackson.databind.exc.InvalidDefinitionException exception) org.springframework.http.ResponseEntity<String> exceptionHandler(de.otto.jlineup.exceptions.ValidationError exception) org.springframework.http.ResponseEntity<String> exceptionHandler(BrowserNotInstalledException exception) org.springframework.http.ResponseEntity<String> exceptionHandler(InvalidRunStateException exception) org.springframework.http.ResponseEntity<String> exceptionHandler(RunNotFoundException exception) org.springframework.http.ResponseEntity<String> exceptionHandler(IllegalArgumentException exception) getHello(jakarta.servlet.http.HttpServletRequest request) org.springframework.http.ResponseEntity<JLineupRunStatus> org.springframework.http.ResponseEntity<Void> org.springframework.http.ResponseEntity<RunBeforeResponse> runBefore(de.otto.jlineup.config.JobConfig jobConfig, jakarta.servlet.http.HttpServletRequest request)
-
Konstruktordetails
-
JLineupController
-
-
Methodendetails
-
getHello
-
runBefore
@PostMapping("/runs") public org.springframework.http.ResponseEntity<RunBeforeResponse> runBefore(@RequestBody de.otto.jlineup.config.JobConfig jobConfig, jakarta.servlet.http.HttpServletRequest request) throws Exception - Löst aus:
Exception
-
exampleRun
@GetMapping("/exampleRun") public String exampleRun(@RequestParam(value="url",required=false) String url, @RequestParam(value="browser",required=false) String browser, jakarta.servlet.http.HttpServletRequest request) throws Exception - Löst aus:
Exception
-
runAfter
@PostMapping("/runs/{runId}") public org.springframework.http.ResponseEntity<Void> runAfter(@PathVariable String runId, jakarta.servlet.http.HttpServletRequest request) throws Exception - Löst aus:
Exception
-
getRun
@GetMapping("/runs/{runId}") public org.springframework.http.ResponseEntity<JLineupRunStatus> getRun(@PathVariable String runId) throws RunNotFoundException - Löst aus:
RunNotFoundException
-
exceptionHandler
@ExceptionHandler(RunNotFoundException.class) public org.springframework.http.ResponseEntity<String> exceptionHandler(RunNotFoundException exception) -
exceptionHandler
@ExceptionHandler(InvalidRunStateException.class) public org.springframework.http.ResponseEntity<String> exceptionHandler(InvalidRunStateException exception) -
exceptionHandler
@ExceptionHandler(BrowserNotInstalledException.class) public org.springframework.http.ResponseEntity<String> exceptionHandler(BrowserNotInstalledException exception) -
exceptionHandler
@ExceptionHandler(com.fasterxml.jackson.databind.exc.InvalidDefinitionException.class) public org.springframework.http.ResponseEntity<String> exceptionHandler(com.fasterxml.jackson.databind.exc.InvalidDefinitionException exception) -
exceptionHandler
@ExceptionHandler(de.otto.jlineup.exceptions.ValidationError.class) public org.springframework.http.ResponseEntity<String> exceptionHandler(de.otto.jlineup.exceptions.ValidationError exception) -
exceptionHandler
@ExceptionHandler(java.lang.IllegalArgumentException.class) public org.springframework.http.ResponseEntity<String> exceptionHandler(IllegalArgumentException exception)
-