public abstract class AbstractDiscoveredOperation extends java.lang.Object implements Operation
endpoints operations discovered by a
EndpointDiscoverer.| Constructor and Description |
|---|
AbstractDiscoveredOperation(DiscoveredOperationMethod operationMethod,
OperationInvoker invoker)
Create a new
AbstractDiscoveredOperation instance. |
| Modifier and Type | Method and Description |
|---|---|
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 in class java.lang.Objectprotected void appendFields(org.springframework.core.style.ToStringCreator creator)