@Deprecated
public class BazaarRequest
extends java.lang.Object
There are options for both display and submission using asynchronous requests, queued requests, and blocking requests.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
boundary
Deprecated.
|
protected int |
contentLength
Deprecated.
|
protected boolean |
media
Deprecated.
|
protected java.util.ArrayList<java.lang.String> |
mediaParam
Deprecated.
|
protected boolean |
multipart
Deprecated.
|
protected java.util.ArrayList<java.lang.String> |
multiPartParams
Deprecated.
|
protected java.lang.Object |
receivedData
Deprecated.
|
protected java.lang.String |
requestUrl
Deprecated.
|
protected int |
serverResponseCode
Deprecated.
|
protected java.net.URL |
url
Deprecated.
|
| Constructor and Description |
|---|
BazaarRequest()
Deprecated.
|
BazaarRequest(java.lang.String apiKeyConversations,
ApiVersion apiVersion)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getSendDisplayUrlString(RequestType type,
DisplayParams params)
Deprecated.
|
void |
postSubmission(RequestType type,
BazaarParams params,
OnBazaarResponse listener)
Deprecated.
Post a submission, spawn a thread, and return the response via the
listener.
|
void |
sendDisplayRequest(RequestType type,
DisplayParams params,
OnBazaarResponse listener)
Deprecated.
Send a request, spawn a thread, and return the result via the listener.
|
protected java.lang.String requestUrl
protected java.net.URL url
protected int serverResponseCode
protected java.util.ArrayList<java.lang.String> multiPartParams
protected java.util.ArrayList<java.lang.String> mediaParam
protected int contentLength
protected java.lang.Object receivedData
protected java.lang.String boundary
protected boolean multipart
protected boolean media
@Deprecated public BazaarRequest()
DEPRECATED: In favor of the BVConversationsClient
@Deprecated
public BazaarRequest(java.lang.String apiKeyConversations,
ApiVersion apiVersion)
DEPRECATED: In favor of the BVConversationsClient
Initialize the request with the necessary parameters.
apiKeyConversations - Bazaarvoice Conversations API KeyapiVersion - Bazaarvoice Conversations API Versionpublic void sendDisplayRequest(RequestType type, DisplayParams params, OnBazaarResponse listener)
type - the type of requestparams - the parameters for the requestlistener - the listener to handle the results onprotected java.lang.String getSendDisplayUrlString(RequestType type, DisplayParams params)
public void postSubmission(RequestType type, BazaarParams params, OnBazaarResponse listener)
type - the type of requestparams - the parameters for the requestlistener - the listener to handle the results on