code: public static THttpService of(Map<String, ?> implementations,
                                    SerializationFormat defaultSerializationFormat) {
          return new THttpService(ThriftCallService.of(implementations),
                                  newAllowedSerializationFormats(defaultSerializationFormat,
                                                                 ThriftSerializationFormats.values()));
      }
docs: Creates a new multiplexed {@link THttpService} with the specified service implementations, supporting
  all thrift protocols and defaulting to the specified {@code defaultSerializationFormat} when the client
  doesn't specify one.
  
  <p>Currently, the only way to specify a serialization format is by using the HTTP session
  protocol and setting the Content-Type header to the appropriate {@link SerializationFormat#mediaType()}.
  
  
  @param implementations a {@link Map} whose key is service name and value is the implementation of
  {@code *.Iface} or {@code *.AsyncIface} service interface generated by
  the Apache Thrift compiler
  @param defaultSerializationFormat the default serialization format to use when not specified by the
  client