Table of Contents

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

next RequestDelegate
endpoint CloudFoundryEndpoint
mgmtOptions IManagementOptions
logger ILogger<CloudFoundryEndpointMiddleware>

Methods

GetRequestUri(HttpRequest)

protected string GetRequestUri(HttpRequest request)

Parameters

request HttpRequest

Returns

string

HandleCloudFoundryRequestAsync(HttpContext)

protected Task HandleCloudFoundryRequestAsync(HttpContext context)

Parameters

context HttpContext

Returns

Task

Invoke(HttpContext)

public Task Invoke(HttpContext context)

Parameters

context HttpContext

Returns

Task