T - Response entity typepublic interface ReactiveResponseEntity<T>
extends com.holonplatform.http.rest.ResponseEntity<T>
ResponseEntity.ACCEPT, ACCEPT_CHARSET, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ACCEPT_RANGES, AGE, ALLOW, AUTHORIZATION, CACHE_CONTROL, CONNECTION, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_LOCATION, CONTENT_RANGE, CONTENT_TYPE, COOKIE, DATE, ETAG, EXPECT, EXPIRES, FROM, HOST, IF_MATCH, IF_MODIFIED_SINCE, IF_NONE_MATCH, IF_RANGE, IF_UNMODIFIED_SINCE, LAST_MODIFIED, LINK, LOCATION, MAX_FORWARDS, ORIGIN, PRAGMA, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, RANGE, REFERER, RETRY_AFTER, SCHEME_BASIC, SCHEME_BEARER, SCHEME_DIGEST, SERVER, SET_COOKIE, TRAILER, TRANSFER_ENCODING, UPGRADE, USER_AGENT, VARY, VIA, WARNING, WWW_AUTHENTICATE| Modifier and Type | Method and Description |
|---|---|
<E> reactor.core.publisher.Flux<E> |
asFlux(Class<E> entityType)
Read the message entity as a
Flux of the specified type. |
reactor.core.publisher.Mono<InputStream> |
asInputStream()
Read the message entity as a raw
InputStream. |
reactor.core.publisher.Mono<T> |
asMono()
Read the message entity as a
Mono. |
<E> reactor.core.publisher.Mono<E> |
asMono(Class<E> entityType)
Read the message entity as a
Mono of the specified type. |
<E> reactor.core.publisher.Mono<E> |
asMono(com.holonplatform.http.rest.ResponseType<E> entityType)
Read the message entity as a
Mono of the specified type., using a ResponseType representation to
allow generic types support. |
builder, builder, getStatus, getStatusCodegetPayload, getPayloadTypereactor.core.publisher.Mono<T> asMono()
Mono.Mono containing the message entity<E> reactor.core.publisher.Mono<E> asMono(Class<E> entityType)
Mono of the specified type.E - Entity instance typeentityType - Entity type (not null)Mono containing the message entity<E> reactor.core.publisher.Mono<E> asMono(com.holonplatform.http.rest.ResponseType<E> entityType)
Mono of the specified type., using a ResponseType representation to
allow generic types support.E - Entity instance typeentityType - Entity response type (not null)Mono containing the message entity<E> reactor.core.publisher.Flux<E> asFlux(Class<E> entityType)
Flux of the specified type.E - Entity instance typeentityType - Entity type (not null)Flux containing the message entityreactor.core.publisher.Mono<InputStream> asInputStream()
InputStream.Mono to handle the message entity streamCopyright © 2019 The Holon Platform. All rights reserved.