Class ByteBufCollector

java.lang.Object
se.fortnox.reactivewizard.jaxrs.ByteBufCollector

public class ByteBufCollector extends Object
  • Constructor Details

    • ByteBufCollector

      public ByteBufCollector()
    • ByteBufCollector

      public ByteBufCollector(int maxReqSize)
  • Method Details

    • collectString

      public rx.Observable<String> collectString(rx.Observable<io.netty.buffer.ByteBuf> input)
      Collect string from input.
      Parameters:
      input - the input
      Returns:
      the string
    • collectString

      public reactor.core.publisher.Mono<String> collectString(reactor.netty.ByteBufFlux input)
    • collectBytes

      public reactor.core.publisher.Mono<byte[]> collectBytes(reactor.core.publisher.Flux<io.netty.buffer.ByteBuf> content)
      Collect bytes from content.
      Parameters:
      content - the content
      Returns:
      the bytes
    • collectBytes

      public org.reactivestreams.Publisher<byte[]> collectBytes(reactor.netty.ByteBufFlux input)