|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbing.requests.BingRequest
bing.requests.BingBundleRequest
public class BingBundleRequest
A bundle request object has the ability to "bundle" together several different request types at once. This allows a client application to send a single HTTP request for multiple, different request types.
Field Summary |
---|
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 | |
---|---|
BingBundleRequest()
Initialize the bundle with a list of requests. |
|
BingBundleRequest(BingRequest[] requests)
Initialize the bundle with a list of requests. |
Method Summary | |
---|---|
void |
addRequest(BingRequest request)
Add a BingRequest object to this bundle. |
int |
hashCode()
|
java.lang.String |
requestOptions()
Specifies request specific options to be passed to the API |
java.lang.String |
sourceType()
Specifies the source type of the current request object. |
Methods inherited from class bing.requests.BingRequest |
---|
removeParentOptions, setAdult, setLanguage, setLatitude, setLongitude, setMarket, setOptions, setRadius, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BingBundleRequest()
public BingBundleRequest(BingRequest[] requests)
requests
- A list of BingRequest objectsMethod Detail |
---|
public void addRequest(BingRequest request)
request
- A new BingRequest object to be added to the requestpublic java.lang.String sourceType()
BingRequest
sourceType
in class BingRequest
public java.lang.String requestOptions()
BingRequest
requestOptions
in class BingRequest
public int hashCode()
hashCode
in class BingRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |