Class WebOperationInvocationArguments
java.lang.Object
org.springframework.boot.actuate.endpoint.web.WebOperationInvocationArguments
Utility that can be used to get arguments for an
InvocationContext from a web
request. Provides consistent resolution logic, regardless of the underlying technology.- Since:
- 4.0.9.1
- Author:
- Phillip Webb
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder used to create invocation arguments from the various parts of a web request. -
Method Summary
Modifier and TypeMethodDescriptionget(WebOperation webOperation, Consumer<WebOperationInvocationArguments.Builder> invocationArguments) Get invocation arguments.
-
Method Details
-
get
public static Map<String,Object> get(WebOperation webOperation, Consumer<WebOperationInvocationArguments.Builder> invocationArguments) Get invocation arguments.- Parameters:
webOperation- the source web operationinvocationArguments- callback used to supply a builder with data- Returns:
- the invocation arguments
-