public class ControllerEndpointDiscoverer extends EndpointDiscoverer<ExposableControllerEndpoint,Operation> implements ControllerEndpointsSupplier
EndpointDiscoverer.OperationKey
コンストラクターと説明 |
---|
ControllerEndpointDiscoverer(ApplicationContext applicationContext, ListSE<PathMapper> endpointPathMappers, CollectionSE<EndpointFilter<ExposableControllerEndpoint>> filters) 新しい ControllerEndpointDiscoverer インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ExposableControllerEndpoint | createEndpoint(ObjectSE endpointBean, EndpointId id, boolean enabledByDefault, CollectionSE<Operation> operations) endpoint を作成するために呼び出されるファクトリメソッド。 |
protected Operation | createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker) endpoint operation を作成するファクトリメソッド。 |
protected EndpointDiscoverer.OperationKey | createOperationKey(Operation operation) 指定された操作の EndpointDiscoverer.OperationKey を作成します。 |
protected boolean | isEndpointTypeExposed(ClassSE<?> beanType) エンドポイント Bean を公開するかどうかを決定します。 |
getEndpoints, getEndpointType, isExtensionTypeExposed
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
getEndpoints
public ControllerEndpointDiscoverer(ApplicationContext applicationContext, ListSE<PathMapper> endpointPathMappers, CollectionSE<EndpointFilter<ExposableControllerEndpoint>> filters)
ControllerEndpointDiscoverer
インスタンスを作成します。applicationContext
- ソースアプリケーションコンテキスト endpointPathMappers
- エンドポイントパスマッパー filters
- 適用するフィルター protected boolean isEndpointTypeExposed(ClassSE<?> beanType)
EndpointDiscoverer
EndpointDiscoverer<ExposableControllerEndpoint, Operation>
の isEndpointTypeExposed
beanType
- エンドポイント Bean 型 true
protected ExposableControllerEndpoint createEndpoint(ObjectSE endpointBean, EndpointId id, boolean enabledByDefault, CollectionSE<Operation> operations)
EndpointDiscoverer
endpoint
を作成するために呼び出されるファクトリメソッド。EndpointDiscoverer<ExposableControllerEndpoint, Operation>
の createEndpoint
endpointBean
- ソースエンドポイント Beanid
- エンドポイントの IDenabledByDefault
- エンドポイントがデフォルトで有効になっている場合 operations
- エンドポイント操作 DiscoveredEndpoint
が推奨されます)protected Operation createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker)
EndpointDiscoverer
endpoint operation
を作成するファクトリメソッド。EndpointDiscoverer<ExposableControllerEndpoint, Operation>
の createOperation
endpointId
- エンドポイント IDoperationMethod
- 操作方法 invoker
- 使用する呼び出し元 protected EndpointDiscoverer.OperationKey createOperationKey(Operation operation)
EndpointDiscoverer
EndpointDiscoverer.OperationKey
を作成します。EndpointDiscoverer<ExposableControllerEndpoint, Operation>
の createOperationKey
operation
- ソース操作