Class QueryMarshallerRegistry.Builder

    • Method Detail

      • marshaller

        public <T> QueryMarshallerRegistry.Builder marshaller​(MarshallingType<T> marshallingType,
                                                              QueryMarshaller<T> marshaller)
        Registers a marshaller of the given type. Since the Query protocol doesn't support location constraints this uses the location 'PAYLOAD' to register.
        Type Parameters:
        T - Type of marshaller being registered.
        Parameters:
        marshallingType - Type of marshaller
        marshaller - Marshaller implementation.
        Returns:
        This builder for method chaining.