Class DefaultOperationMethod
java.lang.Object
org.springframework.cloud.gateway.server.mvc.invoke.reflect.DefaultOperationMethod
- All Implemented Interfaces:
OperationMethod
Information describing an operation method on an endpoint method.
- Since:
- 2.0.0
- Author:
- Phillip Webb
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultOperationMethod(Method method) Create a newDefaultOperationMethodinstance. -
Method Summary
Modifier and TypeMethodDescriptionReturn the source Java method.Return the operation parameters.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.cloud.gateway.server.mvc.invoke.reflect.OperationMethod
isConfigurable
-
Constructor Details
-
DefaultOperationMethod
Create a newDefaultOperationMethodinstance.- Parameters:
method- the source method
-
-
Method Details
-
getMethod
Return the source Java method.- Specified by:
getMethodin interfaceOperationMethod- Returns:
- the method
-
getParameters
Return the operation parameters.- Specified by:
getParametersin interfaceOperationMethod- Returns:
- the operation parameters
-
toString
-