@Test
    public void notDefault() throws Exception {
        final HelloService.Iface client = ThriftClients.newClient(server.httpUri(TEXT) + "/hello",
                                                                  HelloService.Iface.class);
        assertThat(client.hello("Trustin")).isEqualTo("Hello, Trustin!");
    }
Test of serialization format validation / detection based on HTTP headers.
thrift/thrift0.13/src/test/java/com/linecorp/armeria/server/thrift/ThriftSerializationFormatsTest.java