public class ControllerEndpointDiscoverer extends EndpointDiscoverer<ExposableControllerEndpoint,Operation> implements ControllerEndpointsSupplier
EndpointDiscoverer.OperationKey| コンストラクターと説明 |
|---|
ControllerEndpointDiscoverer(org.springframework.context.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 | isEndpointExposed(ObjectSE endpointBean) エンドポイント Bean を公開するかどうかを決定します。 |
getEndpoints, getEndpointType, isExtensionExposedcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEgetEndpointspublic ControllerEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
ListSE<PathMapper> endpointPathMappers,
CollectionSE<EndpointFilter<ExposableControllerEndpoint>> filters)ControllerEndpointDiscoverer インスタンスを作成します。applicationContext - ソースアプリケーションコンテキスト endpointPathMappers - エンドポイントパスマッパー filters - 適用するフィルター protected boolean isEndpointExposed(ObjectSE endpointBean)
EndpointDiscovererEndpointDiscoverer<ExposableControllerEndpoint, Operation> の isEndpointExposed endpointBean - エンドポイント Beantrue protected ExposableControllerEndpoint createEndpoint(ObjectSE endpointBean, EndpointId id, boolean enabledByDefault, CollectionSE<Operation> operations)
EndpointDiscovererendpoint を作成するために呼び出されるファクトリメソッド。EndpointDiscoverer<ExposableControllerEndpoint, Operation> の createEndpoint endpointBean - ソースエンドポイント Beanid - エンドポイントの IDenabledByDefault - エンドポイントがデフォルトで有効になっている場合 operations - エンドポイント操作 DiscoveredEndpoint が推奨されます)protected Operation createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker)
EndpointDiscovererendpoint operation を作成するファクトリメソッド。EndpointDiscoverer<ExposableControllerEndpoint, Operation> の createOperation endpointId - エンドポイント IDoperationMethod - 操作方法 invoker - 使用する呼び出し元 protected EndpointDiscoverer.OperationKey createOperationKey(Operation operation)
EndpointDiscovererEndpointDiscoverer.OperationKey を作成します。EndpointDiscoverer<ExposableControllerEndpoint, Operation> の createOperationKey operation - ソース操作 Copyright © 2019 Pivotal Software, Inc.. All rights reserved.