bing.requests
Class BingMobileWebRequest

java.lang.Object
  extended by bing.requests.BingRequest
      extended by bing.requests.BingMobileWebRequest

public class BingMobileWebRequest
extends BingRequest

Request object to be used when requesting mobile web results.


Field Summary
static java.lang.String MOBILE_WEB_SEARCH_OPTIONS_DISABLE_HOST_COLLAPSING
           
static java.lang.String MOBILE_WEB_SEARCH_OPTIONS_DISABLE_QUERY_ALTERATIONS
           
static java.lang.String MOBILE_WEB_SEARCH_OPTIONS_SEPERATOR
           
 
Fields inherited from class bing.requests.BingRequest
ADULT_OPTIONS_MODERATE, ADULT_OPTIONS_OFF, ADULT_OPTIONS_STRICT, DEFAULT_API_VERSION, DEFAULT_SEARCH_MARKET, OPTION_SEPERATOR, SEARCH_OPTIONS_DISABLE_LOCATION_DETECTION, SEARCH_OPTIONS_ENABLE_HIGHLIGHTING, SEARCH_OPTIONS_SEPERATOR
 
Constructor Summary
BingMobileWebRequest()
           
 
Method Summary
 java.lang.String requestOptions()
          Specifies request specific options to be passed to the API
 void setCount(long count)
           
 void setMobileWebOptions(java.lang.String options)
           
 void setOffset(long offset)
           
 java.lang.String sourceType()
          Specifies the source type of the current request object.
 
Methods inherited from class bing.requests.BingRequest
hashCode, removeParentOptions, setAdult, setLanguage, setLatitude, setLongitude, setMarket, setOptions, setRadius, setVersion, toString
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MOBILE_WEB_SEARCH_OPTIONS_SEPERATOR

public static final java.lang.String MOBILE_WEB_SEARCH_OPTIONS_SEPERATOR
See Also:
Constant Field Values

MOBILE_WEB_SEARCH_OPTIONS_DISABLE_HOST_COLLAPSING

public static final java.lang.String MOBILE_WEB_SEARCH_OPTIONS_DISABLE_HOST_COLLAPSING
See Also:
Constant Field Values

MOBILE_WEB_SEARCH_OPTIONS_DISABLE_QUERY_ALTERATIONS

public static final java.lang.String MOBILE_WEB_SEARCH_OPTIONS_DISABLE_QUERY_ALTERATIONS
See Also:
Constant Field Values
Constructor Detail

BingMobileWebRequest

public BingMobileWebRequest()
Method Detail

sourceType

public java.lang.String sourceType()
Description copied from class: BingRequest
Specifies the source type of the current request object.

Specified by:
sourceType in class BingRequest
Returns:
A string representing the source type of the current object.

requestOptions

public java.lang.String requestOptions()
Description copied from class: BingRequest
Specifies request specific options to be passed to the API

Overrides:
requestOptions in class BingRequest
Returns:
A string representing the various set API parameters

setCount

public void setCount(long count)

setOffset

public void setOffset(long offset)

setMobileWebOptions

public void setMobileWebOptions(java.lang.String options)
Parameters:
options - One or more combinations of the MOBILE_WEB_SEARCH_OPTIONS_ options separated by MOBILE_WEB_SEARCH_OPTIONS_SEPERATOR.