public class CloudFoundryWebEndpointDiscoverer extends WebEndpointDiscoverer
WebEndpointDiscoverer
for Cloud Foundry that uses Cloud Foundry specific
extensions for the HealthEndpoint
.EndpointDiscoverer.OperationKey
Constructor and Description |
---|
CloudFoundryWebEndpointDiscoverer(ApplicationContext applicationContext,
ParameterValueMapper parameterValueMapper,
EndpointMediaTypes endpointMediaTypes,
List<PathMapper> endpointPathMappers,
Collection<OperationInvokerAdvisor> invokerAdvisors,
Collection<EndpointFilter<ExposableWebEndpoint>> filters)
Create a new
WebEndpointDiscoverer instance. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isExtensionTypeExposed(Class<?> extensionBeanType)
Determine if an extension bean should be exposed.
|
createEndpoint, createOperation, createOperationKey
getEndpoints, getEndpointType, isEndpointExposed, isEndpointTypeExposed, isExtensionExposed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoints
public CloudFoundryWebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> filters)
WebEndpointDiscoverer
instance.applicationContext
- the source application contextparameterValueMapper
- the parameter value mapperendpointMediaTypes
- the endpoint media typesendpointPathMappers
- the endpoint path mappersinvokerAdvisors
- invoker advisors to applyfilters
- filters to applyprotected boolean isExtensionTypeExposed(Class<?> extensionBeanType)
EndpointDiscoverer
isExtensionTypeExposed
in class EndpointDiscoverer<ExposableWebEndpoint,WebOperation>
extensionBeanType
- the extension bean typetrue
if the extension is exposedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.