インターフェース WebServiceMessageSender.DestinationPolicy<D extends WebServiceMessageSender.DestinationDescriptor >
- 型パラメーター:
D- 送信側実装によって提供される具体的な記述子型
- 含まれているインターフェース:
WebServiceMessageSender
- 関数インターフェース:
- これは関数インターフェースであるため、ラムダ式またはメソッド参照の割り当てターゲットとして使用できます。
@FunctionalInterfaceSE
public static interface WebServiceMessageSender.DestinationPolicy<D extends WebServiceMessageSender.DestinationDescriptor>
Specifies the policy to apply for a given descriptor. Implementation may choose to apply the default checks that would otherwise be applied if such policy was not configured.
- 導入:
- 3.1.9
方法の概要
修飾子と型メソッド説明booleanaccept(D descriptor, PredicateSE<D> defaultChecks) Whether the given destination is acceptable.
方法の詳細
accept
Whether the given destination is acceptable.- パラメーター:
descriptor- transport-specific view of the destinationdefaultChecks- predicate that runs the sender's default checks for this descriptor. CalldefaultChecks.test(descriptor)when those checks should apply- 戻り値:
- whether the destination is acceptable