MCPcopy Index your code
hub / github.com/OpenFeign/feign / getMethodOptions

Method getMethodOptions

core/src/main/java/feign/Request.java:336–341  ·  view source on GitHub ↗

Get an Options by methodName @param methodName it's your FeignInterface method name. @return method Options

(String methodName)

Source from the content-addressed store, hash-verified

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

Callers 1

findOptionsMethod · 0.80

Calls 1

getThreadIdentifierMethod · 0.80

Tested by

no test coverage detected