Class CloudFoundryEndpointMiddleware
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.
Inheritance
System.Object
CloudFoundryEndpointMiddleware
Assembly: Steeltoe.Management.EndpointCore.dll
Syntax
public class CloudFoundryEndpointMiddleware : EndpointMiddleware<Links, string>
Constructors
|
Edit this page
View Source
CloudFoundryEndpointMiddleware(RequestDelegate, CloudFoundryEndpoint, IManagementOptions, ILogger<CloudFoundryEndpointMiddleware>)
Declaration
public CloudFoundryEndpointMiddleware(RequestDelegate next, CloudFoundryEndpoint endpoint, IManagementOptions mgmtOptions, ILogger<CloudFoundryEndpointMiddleware> logger = null)
Parameters
Methods
|
Edit this page
View Source
GetRequestUri(HttpRequest)
Declaration
protected string GetRequestUri(HttpRequest request)
Parameters
Type |
Name |
Description |
HttpRequest |
request |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
HandleCloudFoundryRequestAsync(HttpContext)
Declaration
protected Task HandleCloudFoundryRequestAsync(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