Class MappingsEndpointOwinMiddleware
- Namespace
- Steeltoe.Management.EndpointOwin.Mappings
- Assembly
- Steeltoe.Management.EndpointOwin.dll
public class MappingsEndpointOwinMiddleware : EndpointOwinMiddleware<ApplicationMappings>
- Inheritance
-
OwinMiddlewareMappingsEndpointOwinMiddleware
- Inherited Members
-
OwinMiddleware.Next
Constructors
MappingsEndpointOwinMiddleware(OwinMiddleware, IMappingsOptions, IEnumerable<IManagementOptions>, IApiExplorer, ILogger)
public MappingsEndpointOwinMiddleware(OwinMiddleware next, IMappingsOptions options, IEnumerable<IManagementOptions> mgmtOptions, IApiExplorer apiExplorer, ILogger logger = null)
Parameters
nextOwinMiddlewareoptionsIMappingsOptionsmgmtOptionsIEnumerable<IManagementOptions>apiExplorerIApiExplorerloggerILogger
MappingsEndpointOwinMiddleware(OwinMiddleware, IMappingsOptions, IApiExplorer, ILogger)
[Obsolete("Use newer constructor that passes in IManagementOptions instead")]
public MappingsEndpointOwinMiddleware(OwinMiddleware next, IMappingsOptions options, IApiExplorer apiExplorer, ILogger logger = null)
Parameters
nextOwinMiddlewareoptionsIMappingsOptionsapiExplorerIApiExplorerloggerILogger
Fields
_apiExplorer
protected IApiExplorer _apiExplorer
Field Value
_options
protected IMappingsOptions _options
Field Value
Methods
GetApplicationMappings()
protected ApplicationMappings GetApplicationMappings()
Returns
GetMappingDescriptions(Collection<ApiDescription>)
protected IDictionary<string, IList<MappingDescription>> GetMappingDescriptions(Collection<ApiDescription> apiDescriptors)
Parameters
apiDescriptorsCollection<ApiDescription>
Returns
GetRouteDetails(ApiDescription)
protected IRouteDetails GetRouteDetails(ApiDescription desc)
Parameters
descApiDescription
Returns
Invoke(IOwinContext)
public override Task Invoke(IOwinContext context)
Parameters
contextIOwinContext
Returns
RequestVerbAndPathMatch(string, string)
public override bool RequestVerbAndPathMatch(string httpMethod, string requestPath)