public class WebAnnotationEndpointDiscoverer extends AnnotationEndpointDiscoverer<WebEndpointOperation,OperationRequestPredicate>
AnnotationEndpointDiscoverer.EndpointInfoDescriptor<T extends Operation,K>, AnnotationEndpointDiscoverer.EndpointOperationFactory<T extends Operation>, AnnotationEndpointDiscoverer.OperationKey<K>| Constructor and Description |
|---|
WebAnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
ParameterMapper parameterMapper,
CachingConfigurationFactory cachingConfigurationFactory,
EndpointMediaTypes endpointMediaTypes,
EndpointPathResolver endpointPathResolver)
Creates a new
WebAnnotationEndpointDiscoverer that will discover
endpoints and web extensions using
the given ApplicationContext. |
| Modifier and Type | Method and Description |
|---|---|
Collection<EndpointInfo<WebEndpointOperation>> |
discoverEndpoints()
Perform endpoint discovery.
|
discoverEndpointspublic WebAnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
ParameterMapper parameterMapper,
CachingConfigurationFactory cachingConfigurationFactory,
EndpointMediaTypes endpointMediaTypes,
EndpointPathResolver endpointPathResolver)
WebAnnotationEndpointDiscoverer that will discover
endpoints and web extensions using
the given ApplicationContext.applicationContext - the application contextparameterMapper - the ParameterMapper used to convert arguments when
an operation is invokedcachingConfigurationFactory - the CachingConfiguration factory to useendpointMediaTypes - the media types produced and consumed by web endpoint
operationsendpointPathResolver - the EndpointPathResolver used to resolve
endpoint pathspublic Collection<EndpointInfo<WebEndpointOperation>> discoverEndpoints()
EndpointDiscovererCopyright © 2017 Pivotal Software, Inc.. All rights reserved.