Interface WebOperation
- All Superinterfaces:
Operation
public interface WebOperation extends Operation
An operation on a web endpoint.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Returns the ID of the operation that uniquely identifies it within its endpoint.WebOperationRequestPredicate
getRequestPredicate()
Returns the predicate for requests that can be handled by this operation.boolean
isBlocking()
Returns if the underlying operation is blocking.
Method Detail
getId
String getId()
Returns the ID of the operation that uniquely identifies it within its endpoint.- Returns:
- the ID
isBlocking
boolean isBlocking()
Returns if the underlying operation is blocking.- Returns:
true
if the operation is blocking
getRequestPredicate
WebOperationRequestPredicate getRequestPredicate()
Returns the predicate for requests that can be handled by this operation.- Returns:
- the predicate