Class MappingsEndpointMiddleware
Inheritance
System.Object
MappingsEndpointMiddleware
Assembly: Steeltoe.Management.EndpointCore.dll
Syntax
public class MappingsEndpointMiddleware : EndpointMiddleware<ApplicationMappings>
Constructors
|
Edit this page
View Source
MappingsEndpointMiddleware(RequestDelegate, IMappingsOptions, IManagementOptions, MappingsEndpoint, IRouteMappings, IActionDescriptorCollectionProvider, IEnumerable<IApiDescriptionProvider>, ILogger<MappingsEndpointMiddleware>)
Declaration
public MappingsEndpointMiddleware(RequestDelegate next, IMappingsOptions options, IManagementOptions mgmtOptions, MappingsEndpoint endpoint, IRouteMappings routeMappings = null, IActionDescriptorCollectionProvider actionDescriptorCollectionProvider = null, IEnumerable<IApiDescriptionProvider> apiDescriptionProviders = null, ILogger<MappingsEndpointMiddleware> logger = null)
Parameters
Methods
|
Edit this page
View Source
AddRouteMappingsDescriptions(IRouteMappings, IDictionary<String, IList<MappingDescription>>)
Declaration
protected void AddRouteMappingsDescriptions(IRouteMappings routeMappings, IDictionary<string, IList<MappingDescription>> desc)
Parameters
|
Edit this page
View Source
GetApplicationMappings(HttpContext)
Declaration
protected ApplicationMappings GetApplicationMappings(HttpContext context)
Parameters
Type |
Name |
Description |
HttpContext |
context |
|
Returns
|
Edit this page
View Source
GetMappingDescriptions(ApiDescriptionProviderContext)
Declaration
protected IDictionary<string, IList<MappingDescription>> GetMappingDescriptions(ApiDescriptionProviderContext apiContext)
Parameters
Type |
Name |
Description |
ApiDescriptionProviderContext |
apiContext |
|
Returns
|
Edit this page
View Source
GetRouteDetails(ActionDescriptor)
Declaration
protected IRouteDetails GetRouteDetails(ActionDescriptor desc)
Parameters
Type |
Name |
Description |
ActionDescriptor |
desc |
|
Returns
|
Edit this page
View Source
GetRouteDetails(ApiDescription)
Declaration
protected IRouteDetails GetRouteDetails(ApiDescription desc)
Parameters
Type |
Name |
Description |
ApiDescription |
desc |
|
Returns
|
Edit this page
View Source
GetRouteDetails(Route)
Declaration
protected IRouteDetails GetRouteDetails(Route route)
Parameters
Type |
Name |
Description |
Route |
route |
|
Returns
|
Edit this page
View Source
HandleMappingsRequestAsync(HttpContext)
Declaration
protected Task HandleMappingsRequestAsync(HttpContext context)
Parameters
Type |
Name |
Description |
HttpContext |
context |
|
Returns
|
Edit this page
View Source
Invoke(HttpContext)
Declaration
public Task Invoke(HttpContext context)
Parameters
Type |
Name |
Description |
HttpContext |
context |
|
Returns