public abstract class BaseRequestHandler extends Object
| Constructor and Description |
|---|
BaseRequestHandler(String mappedUri) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
commandAllowedWithAlertPresentInWebViewMode() |
String |
getCommandName(HttpRequest request) |
String |
getElementId(HttpRequest request) |
String |
getMappedUri() |
String |
getNameAttribute(HttpRequest request) |
org.json.JSONObject |
getPayload(HttpRequest request) |
String |
getSessionId(HttpRequest request) |
abstract Response |
handle(HttpRequest request) |
protected String mappedUri
public BaseRequestHandler(String mappedUri)
public String getMappedUri()
public String getSessionId(HttpRequest request)
public String getCommandName(HttpRequest request)
public String getElementId(HttpRequest request)
public String getNameAttribute(HttpRequest request)
public org.json.JSONObject getPayload(HttpRequest request) throws org.json.JSONException
org.json.JSONExceptionpublic abstract Response handle(HttpRequest request) throws org.json.JSONException
org.json.JSONExceptionpublic boolean commandAllowedWithAlertPresentInWebViewMode()
Copyright © 2015. All rights reserved.