com.human.gateway.client.service.base.BaseService.class Maven / Gradle / Ivy
???? 2 ? ?
?
' ?
( ? ' ? ' ? ' ? ? ?
?
' ?
?
?
?
?
? ' ?
' ?
? ? ? ?
?
' ?
? ? ?
' ?
' ?
? ?
? ? ? ? ?
' ?
? ? ?
' ? ? ? ? PARAM_TO Ljava/lang/String;
ConstantValue t PARAM_MSG ? PARAM_ID v
PARAM_FROM w PARAM_SCHEDULE x PARAM_CALLBACK_OPTION ?
PARAM_CODE ?
PARAM_ACCOUNT C PARAM_DISPATCH ? BODY_MAX_LENGTH I ?
ID_MAX_LENGTH DATE_FORMAT account password http 0Lcom/human/gateway/client/util/HttpClientHelper;
dateFormat Ljava/text/SimpleDateFormat; '(Ljava/lang/String;Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this 3Lcom/human/gateway/client/service/base/BaseService; W(Ljava/lang/String;Ljava/lang/String;Lcom/human/gateway/client/util/HttpClientHelper;)V
httpHelper setUseSSL (Z)V newvar Z setProxy 5(Lcom/human/gateway/client/bean/ProxyConfiguration;)V proxy 2Lcom/human/gateway/client/bean/ProxyConfiguration; isUseSSL ()Z sendRequest D(Lorg/apache/commons/httpclient/methods/PostMethod;)Ljava/util/List; post 2Lorg/apache/commons/httpclient/methods/PostMethod;
Exceptions Signature n(Lorg/apache/commons/httpclient/methods/PostMethod;)Ljava/util/List; I([Lorg/apache/commons/httpclient/methods/multipart/Part;)Ljava/util/List; parts 7[Lorg/apache/commons/httpclient/methods/multipart/Part; s([Lorg/apache/commons/httpclient/methods/multipart/Part;)Ljava/util/List;
getAccount ()Ljava/lang/String; getPassword getHttp 2()Lcom/human/gateway/client/util/HttpClientHelper;
setDateFormat (Ljava/text/SimpleDateFormat;)V
getDateFormat ()Ljava/text/SimpleDateFormat; validateMessage ](Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V e Ljava/text/ParseException; to message id from schedule
StackMapTable ? K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V length ((Ljava/lang/String;Ljava/lang/String;I)V validateAccountAndPassword ()V
SourceFile BaseService.java .com/human/gateway/client/util/HttpClientHelper I ? I P C * D * E F java/text/SimpleDateFormat dd/MM/yyyy HH:mm:ss I ? l m R S V W Z [ ? ] ? c G H n o ? ? java/text/ParseException 7com/human/gateway/client/exception/ClientHumanException
Date invalid. p { ? } ? 0Field "id" can not have more than 20 characters. p | p ~ ? h ? [ Field "to" is required. Field "msg" is required. 4Fields "msg" + "from" can not exceed 150 characters. g h ? ? ? Field "account" is required. i h Field "code" is required. 1com/human/gateway/client/service/base/BaseService java/lang/Object msg callbackOption code dispatch (Ljava/lang/String;)V
simpleRequest multipartRequest parse $(Ljava/lang/String;)Ljava/util/Date; java/lang/String ()I trim isEmpty #org/apache/commons/lang/StringUtils (Ljava/lang/String;)Z! ' ( ) * + , - * + . / * + 0 1 * + 2 3 * + 4 5 * + 6 7 * + 8 9 * + : ; * + <