Class EndpointOptions
- Namespace
- Steeltoe.Management.Configuration
- Assembly
- Steeltoe.Management.Abstractions.dll
public abstract class EndpointOptions
- Inheritance
-
EndpointOptions
- Derived
- Inherited Members
Properties
AllowedVerbs
Gets the list of HTTP verbs that are allowed for this endpoint.
public IList<string> AllowedVerbs { get; }
Property Value
Enabled
Gets or sets a value indicating whether this endpoint is enabled.
public virtual bool? Enabled { get; set; }
Property Value
- bool?
Id
Gets or sets the unique ID of this endpoint.
public virtual string? Id { get; set; }
Property Value
Path
Gets or sets the relative path at which this endpoint is exposed.
public virtual string? Path { get; set; }
Property Value
RequiredPermissions
Gets or sets the permissions required to access this endpoint, when running on Cloud Foundry. Default value: Restricted.
public EndpointPermissions RequiredPermissions { get; set; }
Property Value
Methods
GetDefaultAllowedVerbs()
Gets the default list of HTTP verbs that are allowed for this endpoint.
protected virtual IList<string> GetDefaultAllowedVerbs()
Returns
RequiresExactMatch()
Indicates whether this endpoint requires an exact match on the path.
public virtual bool RequiresExactMatch()