Class Fragment<T>


  • public class Fragment<T>
    extends Object
    This class is used to define a GraphQL "named" fragment.

    A fragment can be referenced in any request with the addFragmentReference(Fragment) method of the corresponding fragment's generic type and must be added to the root request with the addFragment(Fragment) method of the QueryQuery or MutationQuery classes.