Example usage for org.springframework.boot.actuate.endpoint.web ExposableWebEndpoint getOperations

List of usage examples for org.springframework.boot.actuate.endpoint.web ExposableWebEndpoint getOperations

Introduction

In this page you can find the example usage for org.springframework.boot.actuate.endpoint.web ExposableWebEndpoint getOperations.

Prototype

Collection<O> getOperations();

Source Link

Document

Returns the operations of the endpoint.

Usage

From source file:org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver.java

private void collectLinks(Map<String, Link> links, ExposableWebEndpoint endpoint, String normalizedUrl) {
    for (WebOperation operation : endpoint.getOperations()) {
        links.put(operation.getId(), createLink(normalizedUrl, operation));
    }/*from   w w  w  .  java 2  s.  com*/
}