public class STTHandler extends BaseRouterHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEYWORDS |
static MXLogger |
logger |
static java.lang.String |
PASSWORD |
static java.lang.String |
URL |
static java.lang.String |
USERNAME |
BIDICONFIG
Constructor and Description |
---|
STTHandler() |
STTHandler(MaxEndPointInfo endPointInfo) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAPIKEYWORDS() |
java.lang.String |
getAPIPASSWORD() |
java.lang.String |
getAPIUSERNAME() |
java.util.List<RouterPropsInfo> |
getProperties() |
java.lang.String |
getUrl() |
byte[] |
invoke(java.util.Map metaData,
byte[] data)
Get the HTTP Basic Authentication header
|
public static final MXLogger logger
public static final java.lang.String URL
public static final java.lang.String USERNAME
public static final java.lang.String PASSWORD
public static final java.lang.String KEYWORDS
public STTHandler(MaxEndPointInfo endPointInfo)
endPointInfo
- public STTHandler()
public byte[] invoke(java.util.Map metaData, byte[] data) throws MXException
invoke
in interface RouterHandler
invoke
in class BaseRouterHandler
username
- user namepassword
- passwordMXException
RouterHandler.invoke(java.util.Map, byte[])
public java.util.List<RouterPropsInfo> getProperties()
public java.lang.String getUrl()
public java.lang.String getAPIUSERNAME()
public java.lang.String getAPIPASSWORD()
public java.lang.String getAPIKEYWORDS()