Class ApplicationsController
java.lang.Object
de.codecentric.boot.admin.server.web.ApplicationsController
REST controller for controlling registration of managed instances.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationsController(ApplicationRegistry registry, org.springframework.context.ApplicationEventPublisher publisher) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Application>>application(String name) reactor.core.publisher.Flux<Application>reactor.core.publisher.Flux<org.springframework.http.codec.ServerSentEvent<Application>>voidreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>unregister(String name)
-
Constructor Details
-
ApplicationsController
public ApplicationsController(ApplicationRegistry registry, org.springframework.context.ApplicationEventPublisher publisher)
-
-
Method Details
-
applications
@GetMapping(path="/applications", produces="application/json") public reactor.core.publisher.Flux<Application> applications() -
refreshApplications
@PostMapping(path="/applications", produces="application/json") public void refreshApplications() -
application
@GetMapping(path="/applications/{name}", produces="application/json") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Application>> application(@PathVariable("name") String name) -
applicationsStream
@GetMapping(path="/applications", produces="text/event-stream") public reactor.core.publisher.Flux<org.springframework.http.codec.ServerSentEvent<Application>> applicationsStream() -
unregister
-