public class WebEndpointOperation extends Operation
|Constructor and Description|
Creates a new
|Modifier and Type||Method and Description|
Returns the ID of the operation that uniquely identifies it within its endpoint.
Returns the predicate for requests that can be handled by this operation.
getInvoker, getType, isBlocking
public WebEndpointOperation(OperationType type, OperationInvoker operationInvoker, boolean blocking, OperationRequestPredicate requestPredicate, String id)
WebEndpointOperationwith the given
type. The operation can be performed using the given
operationInvoker. The operation can handle requests that match the given
type- the type of the operation
operationInvoker- used to perform the operation
blocking- whether or not this is a blocking operation
requestPredicate- the predicate for requests that can be handled by the
id- the id of the operation, unique within its endpoint operation
public OperationRequestPredicate getRequestPredicate()
public String getId()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.