com.human.gateway.client.service.SimpleMessageService.class Maven / Gradle / Ivy
???? 2 ?
- Z
, [ \
] ^ _
] `
] a
- b c
, d
e
, f
g h
i
j
k
l
, m n
o p D
q ?
, r s
, t u v w V x y
z
{ |
} ~
,
} ?
} ? ? ?
( ? ? ? ? ? GATEWAY_URI Ljava/lang/String;
ConstantValue GATEWAY_HOST GATEWAY_PORT I P SEND CHECK '(Ljava/lang/String;Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this 7Lcom/human/gateway/client/service/SimpleMessageService; account password W(Ljava/lang/String;Ljava/lang/String;Lcom/human/gateway/client/util/HttpClientHelper;)V
httpHelper 0Lcom/human/gateway/client/util/HttpClientHelper; send 9(Lcom/human/gateway/client/bean/Message;)Ljava/util/List; message 'Lcom/human/gateway/client/bean/Message;
simpleMessage -Lcom/human/gateway/client/bean/SimpleMessage; format post 2Lorg/apache/commons/httpclient/methods/PostMethod;
StackMapTable c ? n
Exceptions Signature c(Lcom/human/gateway/client/bean/Message;)Ljava/util/List; query $(Ljava/lang/String;)Ljava/util/List; id N(Ljava/lang/String;)Ljava/util/List;
SourceFile SimpleMessageService.java 8 9 ? ? api.zenvia360.com.br ? ? ? /GatewayIntegration/msgSms.do ? ? ? ? 8 A +com/human/gateway/client/bean/SimpleMessage ? ? ? ? ? ? ? J ? ? ? ? ? ? ? ? ? ? ? 0org/apache/commons/httpclient/methods/PostMethod 8 ? dispatch ? 9 ? ? code ? ? msg to from schedule callbackOption ? ? ? ? ? ? ? ? ? ? ? ? ? ? 7com/human/gateway/client/exception/ClientHumanException Id is empty. 8 ? check 5com/human/gateway/client/service/SimpleMessageService 1com/human/gateway/client/service/base/BaseService 8com/human/gateway/client/service/base/ISimpleBaseService java/lang/String getHttp 2()Lcom/human/gateway/client/util/HttpClientHelper; .com/human/gateway/client/util/HttpClientHelper setHost (Ljava/lang/String;)V setUri setPort (I)V validateAccountAndPassword ()V getSchedule ()Ljava/util/Date;
getDateFormat ()Ljava/text/SimpleDateFormat; java/text/SimpleDateFormat $(Ljava/util/Date;)Ljava/lang/String; getTo ()Ljava/lang/String;
getMessage getId getFrom validateMessage ](Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V addParameter
getAccount getPassword getCallback 8()Lcom/human/gateway/client/enumerator/CallbackTypeEnum; 4com/human/gateway/client/enumerator/CallbackTypeEnum ()I valueOf (I)Ljava/lang/String; sendRequest D(Lorg/apache/commons/httpclient/methods/PostMethod;)Ljava/util/List; trim isEmpty ()Z ! , - . / 0 1 2 0 1 3 4 1 5 6 0 1 7 0 1 + 8 9 : p "*+,? *? ? *? ? *? P? ? ; ' ( ) * ! + <