Get an Options by methodName @param methodName it's your FeignInterface method name. @return method Options
(String methodName)
| 334 | * @return method Options |
| 335 | */ |
| 336 | @Experimental |
| 337 | public Options getMethodOptions(String methodName) { |
| 338 | Map<String, Options> methodOptions = |
| 339 | threadToMethodOptions.getOrDefault(getThreadIdentifier(), new HashMap<>()); |
| 340 | return methodOptions.getOrDefault(methodName, this); |
| 341 | } |
| 342 | |
| 343 | /** |
| 344 | * Set methodOptions by methodKey and options |
no test coverage detected