public abstract class AbstractDiscoveredOperation extends java.lang.Object implements Operation
endpoints operations discovered by a
EndpointDiscoverer.| 构造器和说明 |
|---|
AbstractDiscoveredOperation(DiscoveredOperationMethod operationMethod,
OperationInvoker invoker)
Create a new
AbstractDiscoveredOperation instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
appendFields(org.springframework.core.style.ToStringCreator creator) |
OperationMethod |
getOperationMethod() |
OperationType |
getType()
Returns the
type of the operation. |
java.lang.Object |
invoke(InvocationContext context)
Invoke the underlying operation using the given
context. |
java.lang.String |
toString() |
public AbstractDiscoveredOperation(DiscoveredOperationMethod operationMethod, OperationInvoker invoker)
AbstractDiscoveredOperation instance.operationMethod - the method backing the operationinvoker - the operation invoker to usepublic OperationMethod getOperationMethod()
public OperationType getType()
Operationtype of the operation.public java.lang.Object invoke(InvocationContext context)
Operationcontext.public java.lang.String toString()
toString 在类中 java.lang.Objectprotected void appendFields(org.springframework.core.style.ToStringCreator creator)