Class ResponseValidator
java.lang.Object
com.citrix.mvpn.api.ResponseValidator
public class ResponseValidator
extends java.lang.Object
ResponseValidator.java - This is a validator class. It can be used to validate the WebView, OkHttp, URL connection responses to check if the Citrix Gateway session is expired or not.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
isNetScalerCookieExpired (java.lang.Object okHttpResponse) |
This method checks if OkHttp Response has cookie expiry header info. |
static boolean |
isNetScalerCookieExpired (java.net.URLConnection urlConnection) |
This method checks if URLConnection Response has cookie expiry header info. |
static boolean |
isNetScalerCookieExpired (android.webkit.WebResourceResponse response) |
This method checks if WebView Response has cookie expiry header info. |
Field Detail
TAG
public static final java.lang.String TAG
See Also: Constant Field Values