java.lang.Object
org.springframework.cloud.gateway.tests.httpclient.HttpClientApplication.RetryController
-
Constructor Summary
Constructors
-
Method Summary
org.springframework.http.ResponseEntity<String>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RetryController
protected RetryController()
-
Method Details
-
retry
@GetMapping("/do/retry")
public org.springframework.http.ResponseEntity<String> retry(@RequestParam("key")
String key,
@RequestParam(name="count",defaultValue="3")
int count,
@RequestParam(name="failStatus",required=false)
Integer failStatus)