Interface WebOperation
- All Superinterfaces:
Operation
An operation on a web endpoint.
- Since:
- 2.0.0
- Author:
- Andy Wilkinson, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
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.boolean
Returns if the underlying operation is blocking.
-
Method Details
-
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
-