public class KeyboardAPI extends ApiImplementor
Constructor and Description |
---|
KeyboardAPI(ExtensionKeyboard extension) |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.httpclient.URI |
getCheatSheetActionURI() |
org.apache.commons.httpclient.URI |
getCheatSheetKeyURI() |
String |
getPrefix() |
HttpMessage |
handleApiOther(HttpMessage msg,
String name,
net.sf.json.JSONObject params)
Override if implementing one or more 'other' operations - these are operations that _dont_ return structured data
|
addApiAction, addApiOptions, addApiOthers, addApiShortcut, addApiView, addCustomHeaders, getApiAction, getApiActions, getApiOther, getApiOthers, getApiShortcuts, getApiView, getApiViews, getParam, getParam, getParam, handleApiAction, handleApiOptionAction, handleApiOptionView, handleApiView, handleCallBack, handleShortcut, validateParamExists
public KeyboardAPI(ExtensionKeyboard extension)
public String getPrefix()
getPrefix
in class ApiImplementor
public org.apache.commons.httpclient.URI getCheatSheetActionURI() throws org.apache.commons.httpclient.URIException, NullPointerException
org.apache.commons.httpclient.URIException
NullPointerException
public org.apache.commons.httpclient.URI getCheatSheetKeyURI() throws org.apache.commons.httpclient.URIException, NullPointerException
org.apache.commons.httpclient.URIException
NullPointerException
public HttpMessage handleApiOther(HttpMessage msg, String name, net.sf.json.JSONObject params) throws ApiException
ApiImplementor
handleApiOther
in class ApiImplementor
msg
- the HTTP message containing the API requestname
- the name of the requested other endpointparams
- the API request parametersApiException
- if an error occurred while handling the API other endpoint