T
- The body type of the requestpublic interface HttpRequestMessageBuilder<T>
Modifier and Type | Interface and Description |
---|---|
static interface |
HttpRequestMessageBuilder.AzureHttpResponseMessage
An azure response message.
|
Modifier and Type | Method and Description |
---|---|
<B> HttpRequestMessageBuilder<B> |
body(B body)
Sets the request body.
|
com.microsoft.azure.functions.HttpRequestMessage<T> |
build() |
HttpRequestMessageBuilder<T> |
header(java.lang.String name,
java.lang.String value)
Sets a request header.
|
HttpRequestMessageBuilder.AzureHttpResponseMessage |
invoke() |
HttpRequestMessageBuilder<T> |
method(com.microsoft.azure.functions.HttpMethod method)
Sets the request method.
|
default HttpRequestMessageBuilder<T> |
method(io.micronaut.http.HttpMethod method)
Sets the request method.
|
default HttpRequestMessageBuilder<T> |
method(java.lang.String method)
Sets the request method.
|
HttpRequestMessageBuilder<T> |
parameter(java.lang.String name,
java.lang.String value)
Sets a request query parameter.
|
default HttpRequestMessageBuilder<T> |
uri(java.lang.String uri)
Sets the request URI.
|
HttpRequestMessageBuilder<T> |
uri(java.net.URI uri)
Sets the request URI.
|
HttpRequestMessageBuilder<T> method(com.microsoft.azure.functions.HttpMethod method)
method
- The request methodHttpRequestMessageBuilder<T> uri(java.net.URI uri)
uri
- The URIHttpRequestMessageBuilder<T> header(java.lang.String name, java.lang.String value)
name
- The headervalue
- The valueHttpRequestMessageBuilder<T> parameter(java.lang.String name, java.lang.String value)
name
- The namevalue
- The value<B> HttpRequestMessageBuilder<B> body(B body)
B
- The body typebody
- The bodycom.microsoft.azure.functions.HttpRequestMessage<T> build()
HttpRequestMessageBuilder.AzureHttpResponseMessage invoke()
default HttpRequestMessageBuilder<T> method(io.micronaut.http.HttpMethod method)
method
- The request methoddefault HttpRequestMessageBuilder<T> method(java.lang.String method)
method
- The request methoddefault HttpRequestMessageBuilder<T> uri(java.lang.String uri)
uri
- The URI