Class ActuatorMetadataProvider
- Namespace
- Steeltoe.Management.Endpoint.Middleware
- Assembly
- Steeltoe.Management.Endpoint.dll
Provides metadata for an actuator endpoint, which is used by the route mappings actuator.
public class ActuatorMetadataProvider
- Inheritance
-
ActuatorMetadataProvider
- Inherited Members
Constructors
ActuatorMetadataProvider(string)
public ActuatorMetadataProvider(string defaultContentType)
Parameters
defaultContentType
string
Properties
DefaultContentType
protected string DefaultContentType { get; }
Property Value
Methods
GetMetadata(string)
Gets metadata for the actuator endpoint, based on the HTTP method. Override to supply actuator-specific metadata.
public virtual EndpointMetadataCollection GetMetadata(string httpMethod)
Parameters
httpMethod
stringThe HTTP request method.