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 |
isExtensionExposed(Object extensionBean)
Determine if an extension bean should be exposed.
|
createEndpoint, createOperation, createOperationKey
getEndpoints, getEndpointType, isEndpointExposed
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 isExtensionExposed(Object extensionBean)
EndpointDiscoverer
isExtensionExposed
in class EndpointDiscoverer<ExposableWebEndpoint,WebOperation>
extensionBean
- the extension beantrue
if the extension is exposedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.