|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.channel.sms.outbound.BTTOutboundMessageHandler
public class BTTOutboundMessageHandler
Field Summary | |
---|---|
(package private) OutboundHandlerConfiguration |
config
|
Constructor Summary | |
---|---|
BTTOutboundMessageHandler()
|
Method Summary | |
---|---|
OutboundHandlerConfiguration |
getConfig()
Get the configuration for BTT outbound handler |
protected java.lang.String |
getContent(java.lang.Object message,
java.lang.String toNumber)
Get the HTTP content to be sent. |
protected java.lang.String |
handleResponseData(java.io.InputStream responseStream,
java.lang.String toNumber)
Default implementation method to handle the HTTP response of outbound. |
java.lang.String |
sendMessage(java.lang.Object message,
java.lang.String toNumber)
send the SMS message by HTTP |
void |
setConfig(OutboundHandlerConfiguration config)
Set the configuration for BTT outbound handler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
OutboundHandlerConfiguration config
Constructor Detail |
---|
public BTTOutboundMessageHandler()
Method Detail |
---|
public java.lang.String sendMessage(java.lang.Object message, java.lang.String toNumber) throws SMSHandlerException
sendMessage
in interface OutboundMessageHandler
message
- SMS to be senttoNumber
- the phone number to which the SMS is sent
SMSHandlerException
OutboundMessageHandler.sendMessage(Object, String)
protected java.lang.String getContent(java.lang.Object message, java.lang.String toNumber)
message
- toNumber
-
protected java.lang.String handleResponseData(java.io.InputStream responseStream, java.lang.String toNumber) throws SMSHandlerException
responseStream
- toNumber
-
SMSHandlerException
public OutboundHandlerConfiguration getConfig()
public void setConfig(OutboundHandlerConfiguration config)
config
- OutboundHandlerConfiguration
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |