Class CloudFoundryEndpointMiddleware
- Namespace
- Steeltoe.Management.Endpoint.CloudFoundry
- Assembly
- Steeltoe.Management.EndpointCore.dll
CloudFoundry endpoint provides hypermedia: a page is added with links to all the endpoints that are enabled. When deployed to CloudFoundry this endpoint is used for apps manager integration when CloudFoundrySecurityMiddleware is added.
public class CloudFoundryEndpointMiddleware : EndpointMiddleware<Links, string>
- Inheritance
-
CloudFoundryEndpointMiddleware
- Inherited Members
Constructors
CloudFoundryEndpointMiddleware(RequestDelegate, CloudFoundryEndpoint, IManagementOptions, ILogger<CloudFoundryEndpointMiddleware>)
public CloudFoundryEndpointMiddleware(RequestDelegate next, CloudFoundryEndpoint endpoint, IManagementOptions mgmtOptions, ILogger<CloudFoundryEndpointMiddleware> logger = null)
Parameters
nextRequestDelegateendpointCloudFoundryEndpointmgmtOptionsIManagementOptionsloggerILogger<CloudFoundryEndpointMiddleware>
Methods
GetRequestUri(HttpRequest)
protected string GetRequestUri(HttpRequest request)
Parameters
requestHttpRequest
Returns
HandleCloudFoundryRequestAsync(HttpContext)
protected Task HandleCloudFoundryRequestAsync(HttpContext context)
Parameters
contextHttpContext
Returns
Invoke(HttpContext)
public Task Invoke(HttpContext context)
Parameters
contextHttpContext