Class QueryContext


  • public class QueryContext
    extends Object
    Defines the query context that Bing used for the request.
    • Constructor Detail

      • QueryContext

        public QueryContext()
    • Method Detail

      • originalQuery

        public String originalQuery()
        Get the originalQuery value.
        Returns:
        the originalQuery value
      • withOriginalQuery

        public QueryContext withOriginalQuery​(String originalQuery)
        Set the originalQuery value.
        Parameters:
        originalQuery - the originalQuery value to set
        Returns:
        the QueryContext object itself.
      • alteredQuery

        public String alteredQuery()
        Get the alteredQuery value.
        Returns:
        the alteredQuery value
      • alterationOverrideQuery

        public String alterationOverrideQuery()
        Get the alterationOverrideQuery value.
        Returns:
        the alterationOverrideQuery value
      • adultIntent

        public Boolean adultIntent()
        Get the adultIntent value.
        Returns:
        the adultIntent value