public class DaprHttp extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DaprHttp.HttpMethods
HTTP Methods supported.
|
static class |
DaprHttp.Response |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<DaprHttp.Response> |
invokeApi(String method,
String urlString,
Map<String,String> urlParameters,
byte[] content,
Map<String,String> headers)
Invokes an API asynchronously that returns a text payload.
|
reactor.core.publisher.Mono<DaprHttp.Response> |
invokeApi(String method,
String urlString,
Map<String,String> urlParameters,
Map<String,String> headers)
Invokes an API asynchronously without payload that returns a text payload.
|
reactor.core.publisher.Mono<DaprHttp.Response> |
invokeApi(String method,
String urlString,
Map<String,String> urlParameters,
String content,
Map<String,String> headers)
Invokes an API asynchronously that returns a text payload.
|
public reactor.core.publisher.Mono<DaprHttp.Response> invokeApi(String method, String urlString, Map<String,String> urlParameters, Map<String,String> headers)
method
- HTTP method.urlString
- url as String.urlParameters
- URL parametersheaders
- HTTP headers.public reactor.core.publisher.Mono<DaprHttp.Response> invokeApi(String method, String urlString, Map<String,String> urlParameters, String content, Map<String,String> headers)
method
- HTTP method.urlString
- url as String.urlParameters
- Parameters in the URLcontent
- payload to be posted.headers
- HTTP headers.public reactor.core.publisher.Mono<DaprHttp.Response> invokeApi(String method, String urlString, Map<String,String> urlParameters, byte[] content, Map<String,String> headers)
method
- HTTP method.urlString
- url as String.urlParameters
- Parameters in the URLcontent
- payload to be posted.headers
- HTTP headers.Copyright © 2020. All rights reserved.