Class ActuatorMetadataProvider
Provides metadata for an actuator endpoint, which is used by the route mappings actuator.
Inheritance
System.Object
ActuatorMetadataProvider
Namespace: Steeltoe.Management.Endpoint.Middleware
Assembly: Steeltoe.Management.Endpoint.dll
Syntax
public class ActuatorMetadataProvider : object
Constructors
| Edit this page View SourceActuatorMetadataProvider(String)
Declaration
public ActuatorMetadataProvider(string defaultContentType)
Parameters
Type | Name | Description |
---|---|---|
System.String | defaultContentType |
Properties
| Edit this page View SourceDefaultContentType
Declaration
protected string DefaultContentType { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Edit this page View SourceGetMetadata(String)
Gets metadata for the actuator endpoint, based on the HTTP method. Override to supply actuator-specific metadata.
Declaration
public virtual EndpointMetadataCollection GetMetadata(string httpMethod)
Parameters
Type | Name | Description |
---|---|---|
System.String | httpMethod | The HTTP request method. |
Returns
Type | Description |
---|---|
EndpointMetadataCollection |