Interface ReactiveHttpResponse<P extends org.reactivestreams.Publisher<?>>

  • All Known Implementing Classes:
    DelegatingReactiveHttpResponse

    public interface ReactiveHttpResponse<P extends org.reactivestreams.Publisher<?>>
    Reactive response from an http server.
    Author:
    Sergii Karpenko
    • Method Detail

      • status

        int status()
      • headers

        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers()
      • body

        P body()
      • releaseBody

        reactor.core.publisher.Mono<java.lang.Void> releaseBody()
      • bodyData

        reactor.core.publisher.Mono<byte[]> bodyData()
        used by error decoders
        Returns:
        error message data