protected <T> reactor.core.publisher.Mono<T> |
AssemblylineClient.clientResponseToMono(org.springframework.web.reactive.function.client.ClientResponse clientResponse,
org.springframework.core.ParameterizedTypeReference<AssemblylineApiResponse<T>> type) |
Convert ClientResponse to AssemblylineApiResponse content mono.
|
protected <T> reactor.core.publisher.Mono<T> |
AssemblylineClient.get(Function<org.springframework.web.util.UriBuilder,URI> uriBuilder,
org.springframework.core.ParameterizedTypeReference<AssemblylineApiResponse<T>> responseType) |
Helper method to perform a JSON GET request.
|
protected <T> reactor.core.publisher.Mono<T> |
AssemblylineClient.post(Function<org.springframework.web.util.UriBuilder,URI> uriBuilder,
org.springframework.core.ParameterizedTypeReference<AssemblylineApiResponse<T>> responseType,
org.springframework.web.reactive.function.BodyInserter<?,? super org.springframework.http.client.reactive.ClientHttpRequest> bodyInserter,
org.springframework.http.MediaType contentType) |
Helper method to perform a JSON POST request.
|