title: How to Access Request Body in Armeria Client Decorator
body: <p>I need to intercept and sign my client requests in Armeria using AWS v4 signature. That signing procedure needs access to the body of the request, but it seems like I can't access request body in the client decorator. Something like</p>
  <pre><code>wcb.decorator((delegate, ctx, req) -&gt; {
                   // constructAWS4SignHeader needs the body of req.
                   String auth = constructAWS4SignHeader(req);
                   HttpRequest newReq = req.withHeaders(req.headers().toBuilder().set(AUTHORIZATION, auth));
                   ctx.updateRequest(newReq);
                   return delegate.execute(ctx, req);
              });
  </code></pre>
  <p>Any solution comes to mind?</p>