public class SortProductsByRelevanceEvent extends RankingPostEvent
clientHash
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
generateMainGetRequestURL() |
protected java.lang.String |
getBodyContentType()
HTTP Content-Type value
|
protected byte[] |
getPostBody()
Generates Request body
|
protected java.util.Map<java.lang.String,java.lang.String> |
getQueryParams() |
protected void |
onFailure(int statusCode,
org.apache.http.Header[] headers,
byte[] responseBody,
java.lang.Throwable error) |
protected void |
onSuccess(int statusCode,
org.apache.http.Header[] headers,
byte[] responseBody) |
protected java.util.Map<java.lang.String,java.lang.String> getQueryParams()
getQueryParams
in class com.jetlore.sdk.common.Event
protected void onSuccess(int statusCode, org.apache.http.Header[] headers, byte[] responseBody)
onSuccess
in class com.jetlore.sdk.common.Event
protected void onFailure(int statusCode, org.apache.http.Header[] headers, byte[] responseBody, java.lang.Throwable error)
onFailure
in class com.jetlore.sdk.common.Event
protected java.lang.String generateMainGetRequestURL()
generateMainGetRequestURL
in class com.jetlore.sdk.common.Event
protected byte[] getPostBody() throws java.lang.Exception
com.jetlore.sdk.common.PostEvent
getPostBody
in class com.jetlore.sdk.common.PostEvent
java.lang.Exception
- in case some error during body creation happenedprotected java.lang.String getBodyContentType()
com.jetlore.sdk.common.PostEvent
getBodyContentType
in class com.jetlore.sdk.common.PostEvent