Package reactivefeign.client
Class DelegatingReactiveHttpResponse<P extends org.reactivestreams.Publisher<?>>
- java.lang.Object
-
- reactivefeign.client.DelegatingReactiveHttpResponse<P>
-
- All Implemented Interfaces:
ReactiveHttpResponse<P>
public abstract class DelegatingReactiveHttpResponse<P extends org.reactivestreams.Publisher<?>> extends java.lang.Object implements ReactiveHttpResponse<P>
- Author:
- Sergii Karpenko
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDelegatingReactiveHttpResponse(ReactiveHttpResponse<P> response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<byte[]>bodyData()used by error decodersprotected ReactiveHttpResponse<P>getResponse()java.util.Map<java.lang.String,java.util.List<java.lang.String>>headers()reactor.core.publisher.Mono<java.lang.Void>releaseBody()ReactiveHttpRequestrequest()intstatus()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface reactivefeign.client.ReactiveHttpResponse
body
-
-
-
-
Constructor Detail
-
DelegatingReactiveHttpResponse
protected DelegatingReactiveHttpResponse(ReactiveHttpResponse<P> response)
-
-
Method Detail
-
getResponse
protected ReactiveHttpResponse<P> getResponse()
-
request
public ReactiveHttpRequest request()
- Specified by:
requestin interfaceReactiveHttpResponse<P extends org.reactivestreams.Publisher<?>>
-
status
public int status()
- Specified by:
statusin interfaceReactiveHttpResponse<P extends org.reactivestreams.Publisher<?>>
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
- Specified by:
headersin interfaceReactiveHttpResponse<P extends org.reactivestreams.Publisher<?>>
-
releaseBody
public reactor.core.publisher.Mono<java.lang.Void> releaseBody()
- Specified by:
releaseBodyin interfaceReactiveHttpResponse<P extends org.reactivestreams.Publisher<?>>
-
bodyData
public reactor.core.publisher.Mono<byte[]> bodyData()
Description copied from interface:ReactiveHttpResponseused by error decoders- Specified by:
bodyDatain interfaceReactiveHttpResponse<P extends org.reactivestreams.Publisher<?>>- Returns:
- error message data
-
-