public abstract class RewriteUtils extends Object
Constructor and Description |
---|
RewriteUtils() |
Modifier and Type | Method and Description |
---|---|
static Optional<org.springframework.http.codec.HttpMessageReader<?>> |
getHttpMessageReader(org.springframework.http.codec.CodecConfigurer codecConfigurer,
org.springframework.core.ResolvableType inElementType,
org.springframework.http.MediaType mediaType) |
static Optional<org.springframework.http.codec.HttpMessageWriter<?>> |
getHttpMessageWriter(org.springframework.http.codec.CodecConfigurer codecConfigurer,
org.springframework.core.ResolvableType outElementType,
org.springframework.http.MediaType mediaType) |
static <T,R> R |
process(reactor.core.publisher.Mono<T> mono,
Function<T,R> consumer) |
public static <T,R> R process(reactor.core.publisher.Mono<T> mono, Function<T,R> consumer)
public static Optional<org.springframework.http.codec.HttpMessageReader<?>> getHttpMessageReader(org.springframework.http.codec.CodecConfigurer codecConfigurer, org.springframework.core.ResolvableType inElementType, org.springframework.http.MediaType mediaType)
public static Optional<org.springframework.http.codec.HttpMessageWriter<?>> getHttpMessageWriter(org.springframework.http.codec.CodecConfigurer codecConfigurer, org.springframework.core.ResolvableType outElementType, org.springframework.http.MediaType mediaType)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.