public class CloudFoundryWebAnnotationEndpointDiscoverer extends WebAnnotationEndpointDiscoverer
WebAnnotationEndpointDiscoverer for Cloud Foundry that uses Cloud Foundry
specific extensions for the HealthEndpoint.AnnotationEndpointDiscoverer.DiscoveredEndpoint, AnnotationEndpointDiscoverer.DiscoveredExtension, AnnotationEndpointDiscoverer.OperationKey| Constructor and Description |
|---|
CloudFoundryWebAnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
ParameterMapper parameterMapper,
EndpointMediaTypes endpointMediaTypes,
EndpointPathResolver endpointPathResolver,
Collection<? extends OperationMethodInvokerAdvisor> invokerAdvisors,
Collection<? extends EndpointFilter<WebOperation>> filters,
Class<?> requiredExtensionType) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isExtensionExposed(Class<?> endpointType,
Class<?> extensionType,
EndpointInfo<WebOperation> endpointInfo)
Determines if an extension is exposed.
|
verifydiscoverEndpoints, getOperationTypepublic CloudFoundryWebAnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
ParameterMapper parameterMapper,
EndpointMediaTypes endpointMediaTypes,
EndpointPathResolver endpointPathResolver,
Collection<? extends OperationMethodInvokerAdvisor> invokerAdvisors,
Collection<? extends EndpointFilter<WebOperation>> filters,
Class<?> requiredExtensionType)
protected boolean isExtensionExposed(Class<?> endpointType, Class<?> extensionType, EndpointInfo<WebOperation> endpointInfo)
AnnotationEndpointDiscovererisExtensionExposed in class AnnotationEndpointDiscoverer<OperationRequestPredicate,WebOperation>endpointType - the endpoint typeextensionType - the extension typeendpointInfo - the endpoint infoCopyright © 2017 Pivotal Software, Inc.. All rights reserved.