Interface HttpCall.RequestSupplier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.linecorp.armeria.common.RequestHeadersheaders()Returns the headers for this request.voidwriteBody(HttpCall.RequestStream requestStream)Writes the body of this request into theHttpCall.RequestStream.
-
-
-
Method Detail
-
headers
com.linecorp.armeria.common.RequestHeaders headers()
Returns the headers for this request.
-
writeBody
void writeBody(HttpCall.RequestStream requestStream)
Writes the body of this request into theHttpCall.RequestStream.HttpCall.RequestStream.tryWrite(HttpData)can be called any number of times to publish any number of payload objects. It can be useful to split up a large payload into smaller chunks instead of buffering everything as one payload.
-
-