Class MeridianRequest
java.lang.Object
com.arubanetworks.meridian.requests.MeridianRequest
- Direct Known Subclasses:
MeridianBitmapRequest
,MeridianJSONRequest
,MeridianStringRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
static interface
static interface
static class
static interface
-
Constructor Summary
ConstructorsConstructorDescriptionMeridianRequest
(Uri uri) MeridianRequest
(Uri uri, Map<String, String> params) MeridianRequest
(Uri uri, Map<String, String> params, MeridianRequest.BodyContentType bodyContentType) MeridianRequest
(Uri uri, JSONObject params) MeridianRequest
(Uri uri, JSONObject params, MeridianRequest.BodyContentType bodyContentType) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
appendAPIVersionHeaders
(Map<String, String> headers, MeridianRequest.BodyContentType bodyContentType) appendGZIPHeaders
(Map<String, String> headers) appendLanguageHeaders
(Map<String, String> headers) protected void
protected abstract com.android.volley.Request
void
cancel()
protected static byte[]
encodeParameters
(Map<String, String> params, String paramsEncoding) protected MeridianRequest.BodyContentType
protected JSONObject
protected int
protected int
protected abstract String
protected Uri
getUri()
protected boolean
isPatch()
protected boolean
protected String
nextPage()
protected boolean
protected com.android.volley.Cache.Entry
parseCacheHeaders
(com.android.volley.NetworkResponse response) protected void
setNextPage
(String nextPage) void
setRetryPolicy
(com.android.volley.RetryPolicy retryPolicy) protected void
protected boolean
protected static com.android.volley.NetworkResponse
unGZIP
(com.android.volley.NetworkResponse response)
-
Constructor Details
-
MeridianRequest
-
MeridianRequest
-
MeridianRequest
public MeridianRequest(Uri uri, Map<String, String> params, MeridianRequest.BodyContentType bodyContentType) -
MeridianRequest
-
MeridianRequest
-
-
Method Details
-
buildRequest
protected void buildRequest() -
supportsPaging
protected boolean supportsPaging() -
isPatch
protected boolean isPatch() -
loggingEnabled
protected boolean loggingEnabled() -
acceptsAuthenticationHeader
protected boolean acceptsAuthenticationHeader() -
nextPage
-
setNextPage
-
getPageSize
protected int getPageSize() -
getMethod
protected int getMethod() -
getUri
-
setUri
-
getBodyContentType
-
getJSONBody
-
getStringMapBody
-
getRequestTag
-
setRetryPolicy
public void setRetryPolicy(com.android.volley.RetryPolicy retryPolicy) -
buildVolleyRequest
protected abstract com.android.volley.Request buildVolleyRequest() -
cancel
public void cancel() -
sendRequest
-
unGZIP
protected static com.android.volley.NetworkResponse unGZIP(com.android.volley.NetworkResponse response) -
parseCacheHeaders
protected com.android.volley.Cache.Entry parseCacheHeaders(com.android.volley.NetworkResponse response) -
overrideCacheHeaders
protected boolean overrideCacheHeaders() -
appendGZIPHeaders
-
appendLanguageHeaders
-
appendAPIVersionHeaders
-
encodeParameters
-