Package org.apache.nifi.web.client.api
Interface HttpRequestBodySpec
- All Superinterfaces:
HttpRequestHeadersSpec
HTTP Request Body Specification builder
-
Method Summary
Modifier and TypeMethodDescriptionbody
(InputStream inputStream, OptionalLong contentLength) Set Request Body as streamMethods inherited from interface org.apache.nifi.web.client.api.HttpRequestHeadersSpec
header, retrieve
-
Method Details
-
body
Set Request Body as stream- Parameters:
inputStream
- Request Body stream is requiredcontentLength
- Content Length or empty when not known- Returns:
- HTTP Request Headers Specification builder
-