@Test
    public void httpResponseHeaderContainsFoo() throws TException {
        final Iface client =
                ThriftClients.builder(server.httpUri() + "/hello")
                             .decorator((delegate, ctx, req) -> {
                                 return delegate.execute(ctx, req).peekHeaders(headers -> {
                                     assertThat(headers.get("foo")).isEqualTo("bar");
                                 });
                             })
                             .build(Iface.class);
        try (SafeCloseable ignored = Clients.withHeader(AUTHORIZATION, SECRET)) {
            assertThat(client.hello("trustin")).isEqualTo("Hello, trustin!");
        }
    }
Tests if Armeria decorators can alter the request/response timeout specified in Thrift call parameters.
thrift/thrift0.13/src/test/java/com/linecorp/armeria/it/thrift/ThriftHttpHeaderTest.java