接口 WebOperation
- 所有超级接口:
Operation
An operation on a web endpoint.
- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson, Phillip Webb
-
方法概要
修饰符和类型方法说明getId()
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.
-
方法详细资料
-
getId
String getId()Returns the ID of the operation that uniquely identifies it within its endpoint.- 返回:
- the ID
-
isBlocking
boolean isBlocking()Returns if the underlying operation is blocking.- 返回:
true
if the operation is blocking
-
getRequestPredicate
WebOperationRequestPredicate getRequestPredicate()Returns the predicate for requests that can be handled by this operation.- 返回:
- the predicate
-