public abstract class AbstractWebFluxEndpointHandlerMapping extends RequestMappingInfoHandlerMapping
HandlerMapping
。修飾子と型 | クラスと説明 |
---|---|
protected static class | AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerInvoker Reactor の bounded elastic scheduler を使用して、別のスレッドでブロッキング操作の呼び出しを実行する OperationInvoker 。 |
protected static interface | AbstractWebFluxEndpointHandlerMapping.LinksHandler ルートエンドポイントにアクチュエーターリンクを提供するリアクティブハンドラー。 |
protected static interface | AbstractWebFluxEndpointHandlerMapping.ReactiveWebOperation WebFlux で処理できるリアクティブ Web 操作。 |
mappingsLogger
logger
BEST_MATCHING_HANDLER_ATTRIBUTE, BEST_MATCHING_PATTERN_ATTRIBUTE, MATRIX_VARIABLES_ATTRIBUTE, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTE
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターと説明 |
---|
AbstractWebFluxEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, CorsConfiguration corsConfiguration, boolean shouldRegisterLinksMapping) 指定された webEndpoints の操作のマッピングを提供する新しい AbstractWebFluxEndpointHandlerMapping を作成します。 |
getDirectPaths, getHandlerInternal, getMappingComparator, getMatchingMapping, handleMatch, handleNoMatch
afterPropertiesSet, detectHandlerMethods, getCorsConfiguration, getHandlerMethods, handlerMethodsInitialized, lookupHandlerMethod, registerHandlerMethod, registerMapping, unregisterMapping
formatMappingName, getCorsProcessor, getHandler, getOrder, getPathPatternParser, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setOrder, setUseCaseSensitiveMatch, setUseTrailingSlashMatch
getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContext
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public AbstractWebFluxEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, CorsConfiguration corsConfiguration, boolean shouldRegisterLinksMapping)
webEndpoints
の操作のマッピングを提供する新しい AbstractWebFluxEndpointHandlerMapping
を作成します。endpointMapping
- すべてのエンドポイントのベースマッピング endpoints
- Web エンドポイント endpointMediaTypes
- エンドポイントによって消費および生成されるメディア型 corsConfiguration
- エンドポイントの CORS 設定 shouldRegisterLinksMapping
- リンクのエンドポイントを登録する必要があるかどうか protected void initHandlerMethods()
AbstractHandlerMethodMapping<RequestMappingInfo>
の initHandlerMethods
protected HandlerMethod createHandlerMethod(ObjectSE handler, MethodSE method)
AbstractHandlerMethodMapping<RequestMappingInfo>
の createHandlerMethod
protected void registerReadMapping(RequestMappingInfo requestMappingInfo, ExposableWebEndpoint endpoint, WebOperation operation)
protected AbstractWebFluxEndpointHandlerMapping.ReactiveWebOperation wrapReactiveWebOperation(ExposableWebEndpoint endpoint, WebOperation operation, AbstractWebFluxEndpointHandlerMapping.ReactiveWebOperation reactiveWebOperation)
AbstractWebFluxEndpointHandlerMapping.ReactiveWebOperation
をラップできるようにするフックポイント。セキュリティなどの追加機能を追加できます。endpoint
- ソースエンドポイント operation
- ソース操作 reactiveWebOperation
- ラップするリアクティブ Web 操作 protected boolean hasCorsConfigurationSource(ObjectSE handler)
AbstractHandlerMethodMapping<RequestMappingInfo>
の hasCorsConfigurationSource
protected CorsConfiguration initCorsConfiguration(ObjectSE handler, MethodSE method, RequestMappingInfo mapping)
AbstractHandlerMethodMapping<RequestMappingInfo>
の initCorsConfiguration
protected boolean isHandler(ClassSE<?> beanType)
AbstractHandlerMethodMapping<RequestMappingInfo>
の isHandler
protected RequestMappingInfo getMappingForMethod(MethodSE method, ClassSE<?> handlerType)
protected abstract AbstractWebFluxEndpointHandlerMapping.LinksHandler getLinksHandler()
public CollectionSE<ExposableWebEndpoint> getEndpoints()