Available Methods
- just ( )
- fromIterable ( )
- subscribe ( )
- empty ( )
- from ( )
- generate ( )
- create ( )
- error ( )
- concat ( )
- defer ( )
- fromStream ( )
- map ( )
- merge ( )
- fromArray ( )
- flatMap ( )
- range ( )
- concatMap ( )
- doOnNext ( )
- hide ( )
- collectList ( )
- onErrorResume ( )
- zip ( )
- interval ( )
- doOnError ( )
- blockFirst ( )
- zipWith ( )
- subscribeWith ( )
- never ( )
- filter ( )
- concatWith ( )
- switchOnFirst ( )
- next ( )
- buffer ( )
- blockLast ( )
- using ( )
- as ( )
- switchIfEmpty ( )
- transform ( )
- usingWhen ( )
- log ( )
- delayElements ( )
Related Classes
- java.util.Arrays
- java.util.Collections
- java.util.concurrent.TimeUnit
- java.util.UUID
- java.util.stream.Collectors
- java.net.URI
- java.util.concurrent.atomic.AtomicInteger
- java.nio.ByteBuffer
- java.util.Optional
- java.nio.charset.StandardCharsets
- org.springframework.context.annotation.Bean
- java.util.stream.Stream
- java.util.function.Function
- java.util.concurrent.CountDownLatch
- java.util.function.Consumer
- java.util.function.Supplier
- java.util.concurrent.atomic.AtomicReference
- java.time.Duration
- org.springframework.http.HttpStatus
- org.springframework.http.ResponseEntity
- org.springframework.http.MediaType
- org.springframework.web.bind.annotation.GetMapping
- org.junit.jupiter.api.Test
- org.springframework.util.Assert
- org.springframework.http.HttpHeaders
Java Code Examples for reactor.core.publisher.Flux#log()
The following examples show how to use
reactor.core.publisher.Flux#log() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HttpSupplier.java From spring-cloud-function with Apache License 2.0 | 5 votes |
private Flux<?> get(WebClient client) { Flux<?> result = client.get().uri(this.props.getSource().getUrl()).exchange() .flatMap(this::transform).repeat(); if (this.props.isDebug()) { result = result.log(); } return result.onErrorResume(TerminateException.class, error -> Mono.empty()); }
Example 2
Source File: FooService.java From tutorials with MIT License | 5 votes |
public void processFoo(Flux<Foo> flux) { flux = FooNameHelper.concatFooName(flux); flux = FooNameHelper.substringFooName(flux); flux = flux.log(); flux = FooReporter.reportResult(flux); flux = flux.doOnError(error -> { logger.error("The following error happened on processFoo method!", error); }); flux.subscribe(); }